summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/project/ProjectDescription.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/project/ProjectDescription.cmake')
-rw-r--r--Tests/RunCMake/project/ProjectDescription.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/ProjectDescription.cmake b/Tests/RunCMake/project/ProjectDescription.cmake
new file mode 100644
index 0000000..3a47362
--- /dev/null
+++ b/Tests/RunCMake/project/ProjectDescription.cmake
@@ -0,0 +1,6 @@
+cmake_policy(SET CMP0048 NEW)
+project(ProjectDescriptionTest VERSION 1.0.0 DESCRIPTION "Test Project" LANGUAGES)
+if(NOT PROJECT_DESCRIPTION)
+ message(FATAL_ERROR "PROJECT_DESCRIPTION expected to be set")
+endif()
+message(STATUS "PROJECT_DESCRIPTION=${PROJECT_DESCRIPTION}")