mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +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(),
|
std::for_each(this->SearchPaths.begin(), this->SearchPaths.end(),
|
||||||
&AddTrailingSlash);
|
&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 "cmPathLabel.h"
|
||||||
#include "cmSearchPath.h"
|
#include "cmSearchPath.h"
|
||||||
|
|
||||||
class cmMakefile;
|
|
||||||
|
|
||||||
/** \class cmFindCommon
|
/** \class cmFindCommon
|
||||||
* \brief Base class for FIND_XXX implementations.
|
* \brief Base class for FIND_XXX implementations.
|
||||||
*
|
*
|
||||||
@@ -105,7 +103,6 @@ protected:
|
|||||||
|
|
||||||
bool CheckCommonArgument(std::string const& arg);
|
bool CheckCommonArgument(std::string const& arg);
|
||||||
void AddPathSuffix(std::string const& arg);
|
void AddPathSuffix(std::string const& arg);
|
||||||
void SetMakefile(cmMakefile* makefile);
|
|
||||||
|
|
||||||
bool NoDefaultPath;
|
bool NoDefaultPath;
|
||||||
bool NoCMakePath;
|
bool NoCMakePath;
|
||||||
|
Reference in New Issue
Block a user