summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-21 13:16:49 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-21 13:16:49 (GMT)
commite2d4bfef3fe24ba5846abbb2dc2c2e0ef58a21f5 (patch)
treedc99dc7c2fdfc9d49ef71c78290afbaf9a3a64d1 /Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt
parentf1de724f41a516574f22d2b0e61ebf4b6d65c601 (diff)
parentd6a03b475e023da9b7532a5b8735caec36b5de86 (diff)
downloadCMake-e2d4bfef3fe24ba5846abbb2dc2c2e0ef58a21f5.zip
CMake-e2d4bfef3fe24ba5846abbb2dc2c2e0ef58a21f5.tar.gz
CMake-e2d4bfef3fe24ba5846abbb2dc2c2e0ef58a21f5.tar.bz2
Merge topic 'fix-CMP0054-elseif-warning'
d6a03b47 cmIfCommand: Issue CMP0054 warning with appropriate context. (#15802)
Diffstat (limited to 'Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt b/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt
index b1ebd49..5a8c263 100644
--- a/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt
+++ b/Tests/RunCMake/CMP0054/CMP0054-keywords-WARN-stderr.txt
@@ -10,3 +10,16 @@ CMake Warning \(dev\) at CMP0054-keywords-WARN.cmake:1 \(if\):
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0054-keywords-WARN.cmake:3 \(elseif\):
+ Policy CMP0054 is not set: Only interpret if\(\) arguments as variables or
+ keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ Quoted keywords like "DEFINED" will no longer be interpreted as keywords
+ when the policy is set to NEW. Since the policy is not set the OLD
+ behavior will be used.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.