summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2018-03-03 04:45:56 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-07 14:35:59 (GMT)
commit587bad7ba2c8a74e53bc173575dc52c6a6ae0a8b (patch)
tree499387e47ba9234a27292305e1336391643e73a1 /Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake
parentdc13ed1f84601a8d9710cc2a8c76d0331be561b8 (diff)
downloadCMake-587bad7ba2c8a74e53bc173575dc52c6a6ae0a8b.zip
CMake-587bad7ba2c8a74e53bc173575dc52c6a6ae0a8b.tar.gz
CMake-587bad7ba2c8a74e53bc173575dc52c6a6ae0a8b.tar.bz2
project: warn on metadata arguments missing values
Warn if `DESCRIPTION` or `VERSION` is given without a following value.
Diffstat (limited to 'Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake')
-rw-r--r--Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake b/Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake
new file mode 100644
index 0000000..f50a2f6
--- /dev/null
+++ b/Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0048 NEW)
+project(ProjectDescriptionTest VERSION 1.0.0 DESCRIPTION LANGUAGES NONE)