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