浏览代码

cmGlobalXCodeGenerator: Support XCTest for XCode 6.4

Benito Palacios Sanchez 8 年之前
父节点
当前提交
23dd8b9e93
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);