diff options
author | Brad King <brad.king@kitware.com> | 2020-03-30 14:50:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-01 14:55:59 (GMT) |
commit | 25a920e8273a2adb21cd5a15f6f3c66bd4160927 (patch) | |
tree | becd26b4e4946a640bef37a62eed4b05d1cabd0d /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | cfc92b483fbd3695d4a67843977e709ba4d7ea47 (diff) | |
download | CMake-25a920e8273a2adb21cd5a15f6f3c66bd4160927.zip CMake-25a920e8273a2adb21cd5a15f6f3c66bd4160927.tar.gz CMake-25a920e8273a2adb21cd5a15f6f3c66bd4160927.tar.bz2 |
cmLocalGenerator: Convert GetStaticLibraryFlags to take original-case config
Move upper-case conversion of the configuration into the implementation.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 96543e5..ec7fe96 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -3409,9 +3409,8 @@ void cmVisualStudio10TargetGenerator::WriteLibOptions( this->GeneratorTarget->GetLinkClosure(config)->LinkerLanguage; std::string libflags; - this->LocalGenerator->GetStaticLibraryFlags( - libflags, cmSystemTools::UpperCase(config), linkLanguage, - this->GeneratorTarget); + this->LocalGenerator->GetStaticLibraryFlags(libflags, config, linkLanguage, + this->GeneratorTarget); if (!libflags.empty()) { Elem e2(e1, "Lib"); cmGlobalVisualStudio10Generator* gg = this->GlobalGenerator; |