summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-13 20:35:39 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-13 20:35:39 (GMT)
commitbf4cef9d5cb67728e855cd65bafa2a3cde684cfe (patch)
tree22eacf13e8480a8d9a3fda5c15216b324878243e /Source/cmPolicies.h
parentd46ff28ac9465969f9fda862d06a048fa40d72f6 (diff)
downloadCMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.zip
CMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.tar.gz
CMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.tar.bz2
ENH: Add policy CMP_0004 to require library names to have no leading or trailing whitespace. Replace previous check of CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the policy.
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 4ca6a6b..1a2a32c 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -44,6 +44,7 @@ public:
CMP0001, // Ignore old compatibility variable
CMP0002, // Target names must be unique
CMP0003, // Linking does not include extra -L paths
+ CMP0004, // Libraries linked may not have leading or trailing whitespace
// Always the last entry. Useful mostly to avoid adding a comma
// the last policy when adding a new one.