summaryrefslogtreecommitdiff
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-09-18 17:23:07 +0200
committerCraig Scott <craig.scott@crascit.com>2018-09-25 23:59:59 +1000
commitb5915744ebccd086891f1fab0ae91af54deb3a86 (patch)
tree6b1e16c11b1be08a33c163cd05966054005e3068 /Source/cmPolicies.h
parenta71caab46b205c2b0367c2b11c12a9b55b09bcca (diff)
downloadcmake-b5915744ebccd086891f1fab0ae91af54deb3a86.tar.gz
LINK_DIRECTORIES target property: add policy for absolute paths check.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index f99cc0fbbf..a367e47ddd 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -237,7 +237,10 @@ class cmMakefile;
13, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0080, \
"BundleUtilities cannot be included at configure time", 3, 13, 0, \
- cmPolicies::WARN)
+ cmPolicies::WARN) \
+ SELECT(POLICY, CMP0081, \
+ "Relative paths not allowed in LINK_DIRECTORIES target property.", \
+ 3, 13, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \
@@ -263,7 +266,8 @@ class cmMakefile;
F(CMP0068) \
F(CMP0069) \
F(CMP0073) \
- F(CMP0076)
+ F(CMP0076) \
+ F(CMP0081)
/** \class cmPolicies
* \brief Handles changes in CMake behavior and policies