cmFindCommon: remove unused function SetMakefile
This commit is contained in:
parent
67a8d907ad
commit
fdd341ebfd
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user