Sfoglia il codice sorgente

cmGlobalXCodeGenerator: Support XCTest for XCode 6.4

Benito Palacios Sanchez 8 anni fa
parent
commit
23dd8b9e93
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 2
Source/cmGlobalXCodeGenerator.cxx

@@ -3298,9 +3298,9 @@ void cmGlobalXCodeGenerator::OutputXCodeProject(
   }
   this->WriteXCodePBXProj(fout, root, generators);
 
-  // Since the lowest available Xcode version for testing was 7.0,
+  // Since the lowest available Xcode version for testing was 6.4,
   // I'm setting this as a limit then
-  if (this->XcodeVersion >= 70) {
+  if (this->XcodeVersion >= 64) {
     if (root->GetMakefile()->GetCMakeInstance()->GetIsInTryCompile() ||
         root->GetMakefile()->IsOn("CMAKE_XCODE_GENERATE_SCHEME")) {
       this->OutputXCodeSharedSchemes(xcodeDir);