summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-18 14:33:33 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-18 14:11:49 (GMT)
commit70ae6dfd922e53e759ec6a58424dfdbb9c12dee1 (patch)
treecec185445680d3264355302f5bc380ab7181ce30 /Source/cmPolicies.cxx
parent36d8d987c705dd693454f3157f7d8c0f50b9f0ff (diff)
downloadCMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.zip
CMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.tar.gz
CMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.tar.bz2
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()