summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-24 20:03:12 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-06 18:16:21 (GMT)
commit156bd2c983b439478dff5fe84629b5a93e780a92 (patch)
tree7bfbf7c03fefdaa672d2bf0057c1ea9952924d6b /Source/cmGlobalXCodeGenerator.cxx
parent01e666c70e9c83ebd8c200d121b706868f69e617 (diff)
downloadCMake-156bd2c983b439478dff5fe84629b5a93e780a92.zip
CMake-156bd2c983b439478dff5fe84629b5a93e780a92.tar.gz
CMake-156bd2c983b439478dff5fe84629b5a93e780a92.tar.bz2
Xcode: Port away from unnecessary CMP0049 compatibility.
The input does not need the conversion.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 746e1a7..64fa12a 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -463,7 +463,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
std::string listfile = mf->GetCurrentSourceDirectory();
listfile += "/";
listfile += "CMakeLists.txt";
- allbuild->AddSourceCMP0049(listfile.c_str());
+ allbuild->AddSource(listfile.c_str());
// Add XCODE depend helper
std::string dir = mf->GetCurrentBinaryDirectory();
@@ -557,7 +557,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
listfile = lg->GetMakefile()->GetCurrentSourceDirectory();
listfile += "/";
listfile += "CMakeLists.txt";
- target.AddSourceCMP0049(listfile.c_str());
+ target.AddSource(listfile.c_str());
}
}
}