diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-15 13:20:18 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-15 13:20:18 (GMT) |
commit | 974de0e19932d27576a5c7661905f75b2b8daaa9 (patch) | |
tree | 4d66d41907b6425c789e8b4fce64e52290817e0e /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 349f8bfb25349892fb2c4e5a9942e4bd63f86f49 (diff) | |
download | CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.zip CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.gz CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.bz2 |
static library: add property STATIC_LIBRARY_OPTIONS
issue: #18251
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index b35b116..93e515b 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1038,7 +1038,9 @@ void cmLocalVisualStudio7Generator::OutputBuildTool( } } std::string libflags; - this->GetStaticLibraryFlags(libflags, configTypeUpper, target); + this->GetStaticLibraryFlags(libflags, configTypeUpper, + target->GetLinkerLanguage(configName), + target); if (!libflags.empty()) { fout << "\t\t\t\tAdditionalOptions=\"" << libflags << "\"\n"; } |