From 1024ffad823cbbb354f051e7d1745644b143a36e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 28 Oct 2009 12:18:24 -0400 Subject: Fix Xcode <= 2.0 projects with CMAKE_BUILD_TYPE The dependency-helper makefiles should not have per-configuration names for Xcode <= 2.0. Older Xcodes do not support multiple configurations. --- Source/cmGlobalXCodeGenerator.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index be21c6c..571932f 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) { -- cgit v0.12