diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 17:19:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:24:44 (GMT) |
commit | 12e4790a0b40d8176940f855f7f6c9cfe6c39f9f (patch) | |
tree | b23abcd5502f02ed491621cca09689666fd93d83 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 14272277205ac7927a4c13b628ce411538f7b17c (diff) | |
download | CMake-12e4790a0b40d8176940f855f7f6c9cfe6c39f9f.zip CMake-12e4790a0b40d8176940f855f7f6c9cfe6c39f9f.tar.gz CMake-12e4790a0b40d8176940f855f7f6c9cfe6c39f9f.tar.bz2 |
cmGeneratorTarget: Move GetTargetVersion from cmTarget.
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 bc05aea..8454bc1 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2422,7 +2422,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, int patch; // VERSION -> current_version - target.GetTargetVersion(false, major, minor, patch); + gtgt->GetTargetVersion(false, major, minor, patch); std::ostringstream v; // Xcode always wants at least 1.0.0 or nothing @@ -2434,7 +2434,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, this->CreateString(v.str().c_str())); // SOVERSION -> compatibility_version - target.GetTargetVersion(true, major, minor, patch); + gtgt->GetTargetVersion(true, major, minor, patch); std::ostringstream vso; // Xcode always wants at least 1.0.0 or nothing |