summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-01-31 15:45:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:29 (GMT)
commit22c54a109050d026269f57dddc0ce0f146fc149d (patch)
treef8936dd279703628cf9872b8af2639c56e6150c2 /Source/cmMakefile.cxx
parentf29754573d2b2a199f17be80eb01ae309699bb23 (diff)
downloadCMake-22c54a109050d026269f57dddc0ce0f146fc149d.zip
CMake-22c54a109050d026269f57dddc0ce0f146fc149d.tar.gz
CMake-22c54a109050d026269f57dddc0ce0f146fc149d.tar.bz2
makefile: Remove an unused method
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index edf33c1..76b3b09 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3662,16 +3662,6 @@ void cmMakefile::AppendProperty(const std::string& prop,
this->Properties.AppendProperty(prop,value,cmProperty::DIRECTORY,asString);
}
-const char *cmMakefile::GetPropertyOrDefinition(const std::string& prop) const
-{
- const char *ret = this->GetProperty(prop, cmProperty::DIRECTORY);
- if (!ret)
- {
- ret = this->GetDefinition(prop.c_str());
- }
- return ret;
-}
-
const char *cmMakefile::GetProperty(const std::string& prop) const
{
return this->GetProperty(prop, cmProperty::DIRECTORY);