diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2018-03-03 04:45:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-07 14:35:59 (GMT) |
commit | 587bad7ba2c8a74e53bc173575dc52c6a6ae0a8b (patch) | |
tree | 499387e47ba9234a27292305e1336391643e73a1 /Tests/RunCMake/project/ProjectDescriptionNoArg2.cmake | |
parent | dc13ed1f84601a8d9710cc2a8c76d0331be561b8 (diff) | |
download | CMake-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.cmake | 2 |
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) |