summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-27 13:42:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-10-27 13:42:37 (GMT)
commitb779b8e85f20930491aea7b9da3b79f61c675804 (patch)
treeaeb9bc842c411b452a6d8ae09493f03cb90dc257 /Tests/RunCMake
parent971b8c3c80372adf6cef54313927bc462f51d7da (diff)
parenta1b1f1a282b7d5b811ac15e2ae823d0db23fe70f (diff)
downloadCMake-b779b8e85f20930491aea7b9da3b79f61c675804.zip
CMake-b779b8e85f20930491aea7b9da3b79f61c675804.tar.gz
CMake-b779b8e85f20930491aea7b9da3b79f61c675804.tar.bz2
Merge topic 'cmp0040-wording'
a1b1f1a2 CMP0040: Clarify policy warning to match documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1415
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
index e3e3ff4..70ed05b 100644
--- a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
@@ -1,8 +1,8 @@
CMake Warning \(dev\) at CMP0040-WARN-missing-target.cmake:2 \(add_custom_command\):
Policy CMP0040 is not set: The target in the TARGET signature of
- add_custom_command\(\) must exist. Run "cmake --help-policy CMP0040" for
- policy details. Use the cmake_policy command to set the policy and
- suppress this warning.
+ add_custom_command\(\) must exist and must be defined in the current
+ directory. Run "cmake --help-policy CMP0040" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
No TARGET 'foobar' has been created in this directory.
Call Stack \(most recent call first\):