cmFindCommon: remove unused function SetMakefile

This commit is contained in:
Daniel Pfeifer 2017-01-08 22:27:16 +01:00
parent 67a8d907ad
commit fdd341ebfd
2 changed files with 0 additions and 15 deletions

View File

@ -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;
}
}

View File

@ -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;