summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/project/CMP0048-OLD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/project/CMP0048-OLD.cmake')
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/CMP0048-OLD.cmake b/Tests/RunCMake/project/CMP0048-OLD.cmake
new file mode 100644
index 0000000..6c32d2c
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD.cmake
@@ -0,0 +1,6 @@
+cmake_policy(SET CMP0048 OLD)
+set(PROJECT_VERSION 1)
+set(MyProject_VERSION_TWEAK 0)
+project(MyProject NONE)
+message(STATUS "PROJECT_VERSION='${PROJECT_VERSION}'")
+message(STATUS "MyProject_VERSION_TWEAK='${MyProject_VERSION_TWEAK}'")