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/cmMakefileLibraryTargetGenerator.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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index a0aa10b..6695143 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -630,7 +630,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules std::ostringstream minorStream; int major; int minor; - this->Target->GetTargetVersion(major, minor); + this->GeneratorTarget->GetTargetVersion(major, minor); majorStream << major; minorStream << minor; targetVersionMajor = majorStream.str(); @@ -862,7 +862,7 @@ cmMakefileLibraryTargetGenerator int major; int minor; int patch; - this->Target->GetTargetVersion(so, major, minor, patch); + this->GeneratorTarget->GetTargetVersion(so, major, minor, patch); if(major > 0 || minor > 0 || patch > 0) { // Append the flag since a non-zero version is specified. |