瀏覽代碼

-fix GetFrameworkFlags() for Mac, which was broken with my last commit

Alex
Alex Neundorf 15 年之前
父節點
當前提交
d7ceb75e8a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Source/cmMakefileTargetGenerator.cxx

+ 1 - 2
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
 }
 
 //----------------------------------------------------------------------------