summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-03-26 17:08:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-05-21 18:59:17 (GMT)
commiteabefa8b02b399b00aea83185b6b364ab5b6aa3d (patch)
treed704dd000578415ab3be7b88248488d4d06caf73 /Source/cmPolicies.h
parent272431a84ff13eb17cf04389428f57c7fe13e3a2 (diff)
downloadCMake-eabefa8b02b399b00aea83185b6b364ab5b6aa3d.zip
CMake-eabefa8b02b399b00aea83185b6b364ab5b6aa3d.tar.gz
CMake-eabefa8b02b399b00aea83185b6b364ab5b6aa3d.tar.bz2
Error on relative path in INCLUDE_DIRECTORIES target property.
Add policy CMP0021 to preserve existing behavior in projects expecting it from earlier CMake versions.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index c11af07..a033e87 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -70,6 +70,8 @@ public:
/// instead.
CMP0019, ///< No variable re-expansion in include and link info
CMP0020, ///< Automatically link Qt executables to qtmain target
+ CMP0021, ///< Fatal error on relative paths in INCLUDE_DIRECTORIES
+ /// target property
/** \brief Always the last entry.
*