summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-08-28 14:06:45 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-08-28 14:06:45 (GMT)
commit6acc71c09df80e9530ff643fb4e37ebe145b46ad (patch)
tree2b198dce156f2755fa01bc2e476f2ca7672dafb4 /Source/cmPolicies.h
parentda033b10d26c3b25c44547dec6b398cabe864510 (diff)
downloadCMake-6acc71c09df80e9530ff643fb4e37ebe145b46ad.zip
CMake-6acc71c09df80e9530ff643fb4e37ebe145b46ad.tar.gz
CMake-6acc71c09df80e9530ff643fb4e37ebe145b46ad.tar.bz2
New CMP0016 for deciding whether an unknown target in TLL() is an error.
When set to OLD, target_link_libraries() silently accepts if it is called with only one argument and this one argument is not a target. When set to NEW, this is an error. By default it is a warning now. Alex
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 eb714c1..fce33ac 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -51,6 +51,7 @@ public:
CMP0013, // Duplicate binary directories not allowed
CMP0014, // Input directories must have CMakeLists.txt
CMP0015, // link_directories() treats paths relative to source dir
+ CMP0016, // target_link_libraries() fails if only argument is not a target
// Always the last entry. Useful mostly to avoid adding a comma
// the last policy when adding a new one.