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 } //----------------------------------------------------------------------------