mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 20:46:37 +08:00
cmFindCommon: remove unused function SetMakefile
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user