From d7ceb75e8aa3395285d34dbbefc6c8c0266f7946 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Mon, 3 May 2010 21:28:12 +0200 Subject: [PATCH] -fix GetFrameworkFlags() for Mac, which was broken with my last commit Alex --- Source/cmMakefileTargetGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 124d2bdc4..ac727acf1 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1445,7 +1445,7 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags() std::set emitted; #ifdef __APPLE__ /* don't insert this when crosscompiling e.g. to iphone */ emitted.insert("/System/Library/Frameworks"); -#else +#endif std::vector includes; this->LocalGenerator->GetIncludeDirectories(includes); std::vector::iterator i; @@ -1477,7 +1477,6 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags() } } return flags; -#endif } //----------------------------------------------------------------------------