summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-28 16:18:24 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-28 16:18:24 (GMT)
commit1024ffad823cbbb354f051e7d1745644b143a36e (patch)
tree42651da36a02d4b0a2f36c271413563d29909e62 /Source
parent172d503c615c8392638e9d3a64f7994c667a278d (diff)
downloadCMake-1024ffad823cbbb354f051e7d1745644b143a36e.zip
CMake-1024ffad823cbbb354f051e7d1745644b143a36e.tar.gz
CMake-1024ffad823cbbb354f051e7d1745644b143a36e.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 4 insertions, 1 deletions
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)
{