summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/project/VersionMissingValueOkay.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/project/VersionMissingValueOkay.cmake')
-rw-r--r--Tests/RunCMake/project/VersionMissingValueOkay.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/VersionMissingValueOkay.cmake b/Tests/RunCMake/project/VersionMissingValueOkay.cmake
new file mode 100644
index 0000000..1fb1437
--- /dev/null
+++ b/Tests/RunCMake/project/VersionMissingValueOkay.cmake
@@ -0,0 +1,6 @@
+cmake_policy(SET CMP0048 NEW)
+set(PROJECT_VERSION 1)
+project(ProjectA VERSION LANGUAGES NONE)
+get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES)
+message(STATUS "ENABLED_LANGUAGES='${langs}'")
+message(STATUS "PROJECT_VERSION='${PROJECT_VERSION}'")