summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-05 08:11:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-05 08:26:09 (GMT)
commitd280bae98f009b56b9c14243981d5aba3e2f8747 (patch)
treee888ccb57b3668a713012e221a7034873d1f3075 /Source
parent364c7ea187d67f702891b201970712806999ad07 (diff)
downloadCMake-d280bae98f009b56b9c14243981d5aba3e2f8747.zip
CMake-d280bae98f009b56b9c14243981d5aba3e2f8747.tar.gz
CMake-d280bae98f009b56b9c14243981d5aba3e2f8747.tar.bz2
cmake: Be clear that there is no chaining after global properties.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3dc50ab..3381447 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2273,8 +2273,6 @@ const char *cmake::GetProperty(const std::string& prop)
const char *cmake::GetProperty(const std::string& prop,
cmProperty::ScopeType scope)
{
- bool chain = false;
-
// watch for special properties
std::string output = "";
if ( prop == "CACHE_VARIABLES" )
@@ -2332,7 +2330,8 @@ const char *cmake::GetProperty(const std::string& prop,
return FOR_EACH_CXX_FEATURE(STRING_LIST_ELEMENT) + 1;
}
#undef STRING_LIST_ELEMENT
- return this->Properties.GetPropertyValue(prop, scope, chain);
+ bool dummy = false;
+ return this->Properties.GetPropertyValue(prop, scope, dummy);
}
bool cmake::GetPropertyAsBool(const std::string& prop)