diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-01-08 21:27:16 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-10 13:58:28 (GMT) |
commit | fdd341ebfdf1da3e53332303eb93d5db1feaed6d (patch) | |
tree | 8566c1fa0abe0fdcd4413d564ea3f8062a4b13af | |
parent | 67a8d907adbc587021e9eba603cb789da09926d8 (diff) | |
download | CMake-fdd341ebfdf1da3e53332303eb93d5db1feaed6d.zip CMake-fdd341ebfdf1da3e53332303eb93d5db1feaed6d.tar.gz CMake-fdd341ebfdf1da3e53332303eb93d5db1feaed6d.tar.bz2 |
cmFindCommon: remove unused function SetMakefile
-rw-r--r-- | Source/cmFindCommon.cxx | 12 | ||||
-rw-r--r-- | Source/cmFindCommon.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx index 110195c..6ffbb6e 100644 --- a/Source/cmFindCommon.cxx +++ b/Source/cmFindCommon.cxx @@ -334,15 +334,3 @@ void cmFindCommon::ComputeFinalPaths() std::for_each(this->SearchPaths.begin(), this->SearchPaths.end(), &AddTrailingSlash); } - -void cmFindCommon::SetMakefile(cmMakefile* makefile) -{ - cmCommand::SetMakefile(makefile); - - // If we are building for Apple (OSX or also iphone), make sure - // that frameworks and bundles are searched first. - if (this->Makefile->IsOn("APPLE")) { - this->SearchFrameworkFirst = true; - this->SearchAppBundleFirst = true; - } -} diff --git a/Source/cmFindCommon.h b/Source/cmFindCommon.h index 426d233..bbb7a38 100644 --- a/Source/cmFindCommon.h +++ b/Source/cmFindCommon.h @@ -14,8 +14,6 @@ #include "cmPathLabel.h" #include "cmSearchPath.h" -class cmMakefile; - /** \class cmFindCommon * \brief Base class for FIND_XXX implementations. * @@ -105,7 +103,6 @@ protected: bool CheckCommonArgument(std::string const& arg); void AddPathSuffix(std::string const& arg); - void SetMakefile(cmMakefile* makefile); bool NoDefaultPath; bool NoCMakePath; |