summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-11-20 08:53:06 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-21 14:24:08 (GMT)
commita02f3d2de00a16a68e8948db3c0de507e569f8a3 (patch)
tree065ce76b2c29a27325a0d36a8869856dbfb6dbe9 /Source/cmPolicies.h
parenta61025135b1c1ceea9634973b983bd3e47be8bdd (diff)
downloadCMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.zip
CMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.tar.gz
CMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.tar.bz2
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.
*