summaryrefslogtreecommitdiff
path: root/Source/cmFindCommon.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-01-08 22:27:16 +0100
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-10 15:58:28 +0200
commitfdd341ebfdf1da3e53332303eb93d5db1feaed6d (patch)
tree8566c1fa0abe0fdcd4413d564ea3f8062a4b13af /Source/cmFindCommon.cxx
parent67a8d907adbc587021e9eba603cb789da09926d8 (diff)
downloadcmake-fdd341ebfdf1da3e53332303eb93d5db1feaed6d.tar.gz
cmFindCommon: remove unused function SetMakefile
Diffstat (limited to 'Source/cmFindCommon.cxx')
-rw-r--r--Source/cmFindCommon.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx
index 110195c4fc..6ffbb6ef7b 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;
- }
-}