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:
parent
172d503c61
commit
1024ffad82
|
@ -1281,7 +1281,10 @@ void cmGlobalXCodeGenerator
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
std::string makefileName=makefileBasename;
|
std::string makefileName=makefileBasename;
|
||||||
makefileName+=configName;
|
if(this->XcodeVersion > 20)
|
||||||
|
{
|
||||||
|
makefileName+=configName;
|
||||||
|
}
|
||||||
cmGeneratedFileStream makefileStream(makefileName.c_str());
|
cmGeneratedFileStream makefileStream(makefileName.c_str());
|
||||||
if(!makefileStream)
|
if(!makefileStream)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue