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