Sfoglia il codice sorgente

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

Alex
Alex Neundorf 15 anni fa
parent
commit
d7ceb75e8a
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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
 }
 
 //----------------------------------------------------------------------------