summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-26 12:15:03 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-26 13:47:29 (GMT)
commita1b1f1a282b7d5b811ac15e2ae823d0db23fe70f (patch)
tree06c6e255048d5819c00cc687050c7e5105b87121 /Source/cmPolicies.h
parenta91eb5e41f486628910f189bf40403568af013c7 (diff)
downloadCMake-a1b1f1a282b7d5b811ac15e2ae823d0db23fe70f.zip
CMake-a1b1f1a282b7d5b811ac15e2ae823d0db23fe70f.tar.gz
CMake-a1b1f1a282b7d5b811ac15e2ae823d0db23fe70f.tar.bz2
CMP0040: Clarify policy warning to match documentation
In commit v3.5.0-rc1~8^2~2 (Help: Clarify policy `CMP0040` documentation, 2016-01-28) the documentation was clarified to indicate that the target must be defined in the current directory. Do the same for the text of the policy warning itself. Fixes: #17399
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 354011a..6c33e2b 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -126,7 +126,7 @@ class cmMakefile;
3, 0, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0040, \
"The target in the TARGET signature of add_custom_command() must " \
- "exist.", \
+ "exist and must be defined in the current directory.", \
3, 0, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0041, \
"Error on relative include with generator expression.", 3, 0, 0, \