diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 21:45:55 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:59 (GMT) |
commit | 526cc7dc52673f1eeb1055ce381e0551f763daea (patch) | |
tree | db90d5ce3d8b6cbef17be99d5773208d90d5c95a /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 8d2e3e53b903b1ee38292b6bcdf3e4eeb5399a05 (diff) | |
download | CMake-526cc7dc52673f1eeb1055ce381e0551f763daea.zip CMake-526cc7dc52673f1eeb1055ce381e0551f763daea.tar.gz CMake-526cc7dc52673f1eeb1055ce381e0551f763daea.tar.bz2 |
cmGeneratorTarget: Move HasImportLibrary 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 2a6c414..874a120 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -559,7 +559,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() cmLocalGenerator::SHELL); vars["TARGET_IMPLIB"] = impLibPath; EnsureParentDirectoryExists(impLibPath); - if(target.HasImportLibrary()) + if(genTarget.HasImportLibrary()) { byproducts.push_back(targetOutputImplib); } |