summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-04 06:03:29 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-05 04:36:49 (GMT)
commitfb433ff283e57fc953975e7a7cfb9f24dcbf789b (patch)
tree84d2a68af7946a000c1bba0cc60078474ba57a7f /Source/cmMakefileLibraryTargetGenerator.cxx
parent4c1f33961f784c47bcd93f4a5875c1c8f60873b7 (diff)
downloadCMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.zip
CMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.tar.gz
CMake-fb433ff283e57fc953975e7a7cfb9f24dcbf789b.tar.bz2
cmGeneratorTarget: Make import library checks config-aware
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index 9299ffe..27fae04 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -641,8 +641,8 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
this->LocalGenerator->GetCurrentBinaryDirectory(),
targetFullPathImport));
std::string implib;
- if (this->GeneratorTarget->GetImplibGNUtoMS(targetFullPathImport,
- implib)) {
+ if (this->GeneratorTarget->GetImplibGNUtoMS(
+ this->ConfigName, targetFullPathImport, implib)) {
libCleanFiles.push_back(this->LocalGenerator->MaybeConvertToRelativePath(
this->LocalGenerator->GetCurrentBinaryDirectory(), implib));
}