diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index be21c6c9d..571932f6f 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1281,7 +1281,10 @@ void cmGlobalXCodeGenerator ) { std::string makefileName=makefileBasename; - makefileName+=configName; + if(this->XcodeVersion > 20) + { + makefileName+=configName; + } cmGeneratedFileStream makefileStream(makefileName.c_str()); if(!makefileStream) {