summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CMP0037/NEW-cond-package.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0037/NEW-cond-package.cmake')
-rw-r--r--Tests/RunCMake/CMP0037/NEW-cond-package.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/NEW-cond-package.cmake b/Tests/RunCMake/CMP0037/NEW-cond-package.cmake
new file mode 100644
index 000000000..ceea90783
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/NEW-cond-package.cmake
@@ -0,0 +1,5 @@
+cmake_policy(SET CMP0037 NEW)
+file(WRITE "${CMAKE_BINARY_DIR}/CPackConfig.cmake" "")
+add_custom_target(test)
+add_custom_target(package)
+add_custom_target(package_source)