diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2018-04-04 06:03:29 (GMT) |
---|---|---|
committer | Michael Stürmer <michael.stuermer@schaeffler.com> | 2018-04-05 04:36:49 (GMT) |
commit | fb433ff283e57fc953975e7a7cfb9f24dcbf789b (patch) | |
tree | 84d2a68af7946a000c1bba0cc60078474ba57a7f /Source/cmMakefileTargetGenerator.cxx | |
parent | 4c1f33961f784c47bcd93f4a5875c1c8f60873b7 (diff) | |
download | CMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.zip CMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.tar.gz CMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.tar.bz2 |
cmGeneratorTarget: Make import library checks config-aware
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index abe5ff3..3998823 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1402,7 +1402,7 @@ std::string cmMakefileTargetGenerator::GetLinkRule( const std::string& linkRuleVar) { std::string linkRule = this->Makefile->GetRequiredDefinition(linkRuleVar); - if (this->GeneratorTarget->HasImplibGNUtoMS()) { + if (this->GeneratorTarget->HasImplibGNUtoMS(this->ConfigName)) { std::string ruleVar = "CMAKE_"; ruleVar += this->GeneratorTarget->GetLinkerLanguage(this->ConfigName); ruleVar += "_GNUtoMS_RULE"; |