diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 19:19:51 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 20:24:44 +0200 |
commit | 12e4790a0b40d8176940f855f7f6c9cfe6c39f9f (patch) | |
tree | b23abcd5502f02ed491621cca09689666fd93d83 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 14272277205ac7927a4c13b628ce411538f7b17c (diff) | |
download | cmake-12e4790a0b40d8176940f855f7f6c9cfe6c39f9f.tar.gz |
cmGeneratorTarget: Move GetTargetVersion from cmTarget.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 066c64e052..a8f182bcef 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -227,7 +227,7 @@ cmNinjaNormalTargetGenerator std::ostringstream minorStream; int major; int minor; - this->GetTarget()->GetTargetVersion(major, minor); + this->GetGeneratorTarget()->GetTargetVersion(major, minor); majorStream << major; minorStream << minor; targetVersionMajor = majorStream.str(); |