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.
This commit is contained in:
Brad King 2009-10-28 12:18:24 -04:00
parent 172d503c61
commit 1024ffad82
1 changed files with 4 additions and 1 deletions

View File

@ -1281,7 +1281,10 @@ void cmGlobalXCodeGenerator
)
{
std::string makefileName=makefileBasename;
if(this->XcodeVersion > 20)
{
makefileName+=configName;
}
cmGeneratedFileStream makefileStream(makefileName.c_str());
if(!makefileStream)
{