summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-21 14:39:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-21 14:39:39 (GMT)
commitd46dfd32c6c2f21a1ed272a38fc140157a17e94e (patch)
tree2eea34ebb3b577fe76fd48c5ad9c011511aba115 /Source/cmPolicies.h
parent392932fb30d5b611887ad4e8a16901fa43fe1434 (diff)
parenta02f3d2de00a16a68e8948db3c0de507e569f8a3 (diff)
downloadCMake-d46dfd32c6c2f21a1ed272a38fc140157a17e94e.zip
CMake-d46dfd32c6c2f21a1ed272a38fc140157a17e94e.tar.gz
CMake-d46dfd32c6c2f21a1ed272a38fc140157a17e94e.tar.bz2
Merge topic 'missing-target-error'
a02f3d2 Add policy CMP0040 to disallow custom commands on missing targets
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 361d820..6834121 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -92,6 +92,8 @@ public:
/// should match a validity pattern.
CMP0038, ///< Targets may not link directly to themselves
CMP0039, ///< Utility targets may not have link dependencies
+ CMP0040, ///< The target in the TARGET signature of
+ /// add_custom_command() must exist.
/** \brief Always the last entry.
*