summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-05-03 19:28:12 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-05-03 19:28:44 (GMT)
commitd7ceb75e8aa3395285d34dbbefc6c8c0266f7946 (patch)
treeee5dbd088da61f18438b75155d38532b0c89fbff /Source/cmMakefileTargetGenerator.cxx
parent0b7206dd23f3b8ec7e35fab6dc083ab4fa188b7d (diff)
downloadCMake-d7ceb75e8aa3395285d34dbbefc6c8c0266f7946.zip
CMake-d7ceb75e8aa3395285d34dbbefc6c8c0266f7946.tar.gz
CMake-d7ceb75e8aa3395285d34dbbefc6c8c0266f7946.tar.bz2
-fix GetFrameworkFlags() for Mac, which was broken with my last commit
Alex
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 124d2bd..ac727ac 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1445,7 +1445,7 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags()
std::set<cmStdString> emitted;
#ifdef __APPLE__ /* don't insert this when crosscompiling e.g. to iphone */
emitted.insert("/System/Library/Frameworks");
-#else
+#endif
std::vector<std::string> includes;
this->LocalGenerator->GetIncludeDirectories(includes);
std::vector<std::string>::iterator i;
@@ -1477,7 +1477,6 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags()
}
}
return flags;
-#endif
}
//----------------------------------------------------------------------------