summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-06-19 12:23:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-06-19 12:24:08 (GMT)
commit6e7b424240dfae88a22327c86454150f2200b7c5 (patch)
treee86aee11c5a2432605cda2bc1456410517820684 /Source/cmPolicies.h
parentfa744586cce3159b7a18b18f25f6fb51927c0f89 (diff)
parent316815e1f4beb66b679f27f96800facef572889e (diff)
downloadCMake-6e7b424240dfae88a22327c86454150f2200b7c5.zip
CMake-6e7b424240dfae88a22327c86454150f2200b7c5.tar.gz
CMake-6e7b424240dfae88a22327c86454150f2200b7c5.tar.bz2
Merge topic 'subdir_target_sources'
316815e1f4 target_sources: Interpret relative paths as relative to the calling directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2128
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 3fe0c84..1732ad6 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -223,7 +223,10 @@ class cmMakefile;
12, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0075, \
"Include file check macros honor CMAKE_REQUIRED_LIBRARIES.", 3, 12, \
- 0, cmPolicies::WARN)
+ 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0076, \
+ "target_sources() command converts relative paths to absolute.", 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) \
@@ -248,7 +251,8 @@ class cmMakefile;
F(CMP0065) \
F(CMP0068) \
F(CMP0069) \
- F(CMP0073)
+ F(CMP0073) \
+ F(CMP0076)
/** \class cmPolicies
* \brief Handles changes in CMake behavior and policies