diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-24 20:03:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-06 18:16:21 (GMT) |
commit | 156bd2c983b439478dff5fe84629b5a93e780a92 (patch) | |
tree | 7bfbf7c03fefdaa672d2bf0057c1ea9952924d6b /Source/cmGlobalXCodeGenerator.cxx | |
parent | 01e666c70e9c83ebd8c200d121b706868f69e617 (diff) | |
download | CMake-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.cxx | 4 |
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()); } } } |