Xcode: Port away from unnecessary CMP0049 compatibility.
The input does not need the conversion.
This commit is contained in:
parent
01e666c70e
commit
156bd2c983
@ -463,7 +463,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|||||||
std::string listfile = mf->GetCurrentSourceDirectory();
|
std::string listfile = mf->GetCurrentSourceDirectory();
|
||||||
listfile += "/";
|
listfile += "/";
|
||||||
listfile += "CMakeLists.txt";
|
listfile += "CMakeLists.txt";
|
||||||
allbuild->AddSourceCMP0049(listfile.c_str());
|
allbuild->AddSource(listfile.c_str());
|
||||||
|
|
||||||
// Add XCODE depend helper
|
// Add XCODE depend helper
|
||||||
std::string dir = mf->GetCurrentBinaryDirectory();
|
std::string dir = mf->GetCurrentBinaryDirectory();
|
||||||
@ -557,7 +557,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|||||||
listfile = lg->GetMakefile()->GetCurrentSourceDirectory();
|
listfile = lg->GetMakefile()->GetCurrentSourceDirectory();
|
||||||
listfile += "/";
|
listfile += "/";
|
||||||
listfile += "CMakeLists.txt";
|
listfile += "CMakeLists.txt";
|
||||||
target.AddSourceCMP0049(listfile.c_str());
|
target.AddSource(listfile.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user