summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-05 17:01:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-07 10:06:39 (GMT)
commit301bb5cdda081f0bef0702e41ae4b47102b235df (patch)
tree2ee1e6000296f3db1358d70145daeafc36139e08 /Source/cmPolicies.h
parent05f5fde0eb83c0e49aab3214f28a098861aa3313 (diff)
downloadCMake-301bb5cdda081f0bef0702e41ae4b47102b235df.zip
CMake-301bb5cdda081f0bef0702e41ae4b47102b235df.tar.gz
CMake-301bb5cdda081f0bef0702e41ae4b47102b235df.tar.bz2
Disallow link-to-self (#13947).
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 821c58d..2ea9973 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -89,6 +89,7 @@ public:
CMP0035, ///< Disallow command: variable_requires
CMP0036, ///< Disallow command: build_name
CMP0037, ///< Target names should match a validity pattern.
+ CMP0038, ///< Targets may not link directly to themselves
/** \brief Always the last entry.
*