diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index ce0d0f20d..309ff4c3d 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -6823,7 +6823,7 @@ void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee, pi != props.end(); ++pi) { if (depender->GetMakefile()->GetCMakeInstance() - ->GetIsPropertyDefined(pi->c_str(), + ->IsPropertyDefined(pi->c_str(), cmProperty::TARGET)) { cmOStringStream e; diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 290aff05c..6bd398e32 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3640,13 +3640,6 @@ void cmake::DefineProperty(const char *name, cmProperty::ScopeType scope, chained); } -bool cmake::GetIsPropertyDefined(const char *name, - cmProperty::ScopeType scope) -{ - return this->PropertyDefinitions[scope].find(name) != - this->PropertyDefinitions[scope].end(); -} - cmPropertyDefinition *cmake ::GetPropertyDefinition(const char *name, cmProperty::ScopeType scope) diff --git a/Source/cmake.h b/Source/cmake.h index a50c1ed02..a3872d701 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -349,8 +349,6 @@ class cmake bool chain = false, const char *variableGroup = 0); - bool GetIsPropertyDefined(const char *name, cmProperty::ScopeType scope); - // get property definition cmPropertyDefinition *GetPropertyDefinition (const char *name, cmProperty::ScopeType scope);