summaryrefslogtreecommitdiff
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-04 08:03:29 +0200
committerMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-05 06:36:49 +0200
commitfb433ff283e57fc953975e7a7cfb9f24dcbf789b (patch)
tree84d2a68af7946a000c1bba0cc60078474ba57a7f /Source/cmMakefileExecutableTargetGenerator.cxx
parent4c1f33961f784c47bcd93f4a5875c1c8f60873b7 (diff)
downloadcmake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.tar.gz
cmGeneratorTarget: Make import library checks config-aware
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 9bbc04337e..1e59f44ce4 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -477,8 +477,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
this->LocalGenerator->GetCurrentBinaryDirectory(),
targetFullPathImport));
std::string implib;
- if (this->GeneratorTarget->GetImplibGNUtoMS(targetFullPathImport,
- implib)) {
+ if (this->GeneratorTarget->GetImplibGNUtoMS(
+ this->ConfigName, targetFullPathImport, implib)) {
exeCleanFiles.push_back(this->LocalGenerator->MaybeConvertToRelativePath(
this->LocalGenerator->GetCurrentBinaryDirectory(), implib));
}