summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-08-15 13:20:18 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2018-08-15 13:20:18 (GMT)
commit974de0e19932d27576a5c7661905f75b2b8daaa9 (patch)
tree4d66d41907b6425c789e8b4fce64e52290817e0e /Source/cmGlobalXCodeGenerator.cxx
parent349f8bfb25349892fb2c4e5a9942e4bd63f86f49 (diff)
downloadCMake-974de0e19932d27576a5c7661905f75b2b8daaa9.zip
CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.gz
CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.bz2
static library: add property STATIC_LIBRARY_OPTIONS
issue: #18251
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 042ce41..164ffb0 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1844,7 +1844,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
if (gtgt->GetType() == cmStateEnums::OBJECT_LIBRARY ||
gtgt->GetType() == cmStateEnums::STATIC_LIBRARY) {
this->CurrentLocalGenerator->GetStaticLibraryFlags(
- extraLinkOptions, cmSystemTools::UpperCase(configName), gtgt);
+ extraLinkOptions, cmSystemTools::UpperCase(configName), llang, gtgt);
} else {
const char* targetLinkFlags = gtgt->GetProperty("LINK_FLAGS");
if (targetLinkFlags) {