summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 14:43:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-18 14:43:41 (GMT)
commit919e1e845361d6e29789f5347d12af3318452843 (patch)
treecec185445680d3264355302f5bc380ab7181ce30 /Source/cmPolicies.cxx
parent36d8d987c705dd693454f3157f7d8c0f50b9f0ff (diff)
parent70ae6dfd922e53e759ec6a58424dfdbb9c12dee1 (diff)
downloadCMake-919e1e845361d6e29789f5347d12af3318452843.zip
CMake-919e1e845361d6e29789f5347d12af3318452843.tar.gz
CMake-919e1e845361d6e29789f5347d12af3318452843.tar.bz2
Merge topic 'INTERFACE-error-with-linked-genex'
70ae6df Handle genexes when evaluating INTERFACE_INCLUDE_DIRECTORIES errors.
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r--Source/cmPolicies.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index 2ecdb42..ffab8e5 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -236,6 +236,11 @@ cmPolicies::cmPolicies()
CMP0026, "CMP0026",
"Disallow use of the LOCATION target property.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0027, "CMP0027",
+ "Conditionally linked imported targets with missing include directories.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()