cmake: Be clear that there is no chaining after global properties.
This commit is contained in:
parent
364c7ea187
commit
d280bae98f
|
@ -2273,8 +2273,6 @@ const char *cmake::GetProperty(const std::string& prop)
|
||||||
const char *cmake::GetProperty(const std::string& prop,
|
const char *cmake::GetProperty(const std::string& prop,
|
||||||
cmProperty::ScopeType scope)
|
cmProperty::ScopeType scope)
|
||||||
{
|
{
|
||||||
bool chain = false;
|
|
||||||
|
|
||||||
// watch for special properties
|
// watch for special properties
|
||||||
std::string output = "";
|
std::string output = "";
|
||||||
if ( prop == "CACHE_VARIABLES" )
|
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;
|
return FOR_EACH_CXX_FEATURE(STRING_LIST_ELEMENT) + 1;
|
||||||
}
|
}
|
||||||
#undef STRING_LIST_ELEMENT
|
#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)
|
bool cmake::GetPropertyAsBool(const std::string& prop)
|
||||||
|
|
Loading…
Reference in New Issue