summaryrefslogtreecommitdiffstats
path: root/Source/cmGhsMultiTargetGenerator.cxx
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-06-07 14:30:58 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-08 20:18:31 (GMT)
commitb0d3e693f1ab466451c7a0d17bbbdd3cae76e93a (patch)
treeb2eca1da7409310744f707274e83b48884053662 /Source/cmGhsMultiTargetGenerator.cxx
parentba92e11f8b461513566d5cc3c0b53b2215bb85f7 (diff)
downloadCMake-b0d3e693f1ab466451c7a0d17bbbdd3cae76e93a.zip
CMake-b0d3e693f1ab466451c7a0d17bbbdd3cae76e93a.tar.gz
CMake-b0d3e693f1ab466451c7a0d17bbbdd3cae76e93a.tar.bz2
cmLocalGenerator: Pass configuration to GetTargetFlags
Move the configuration lookup to call sites. This will allow multi-configuration callers to use the method.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.cxx')
-rw-r--r--Source/cmGhsMultiTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.cxx b/Source/cmGhsMultiTargetGenerator.cxx
index 8565fdb..3d35114 100644
--- a/Source/cmGhsMultiTargetGenerator.cxx
+++ b/Source/cmGhsMultiTargetGenerator.cxx
@@ -371,7 +371,7 @@ void cmGhsMultiTargetGenerator::WriteTargetLinkLibraries(
bool useWatcomQuote =
this->Makefile->IsOn(createRule + "_USE_WATCOM_QUOTE");
this->LocalGenerator->GetTargetFlags(
- linkLibraries, flags, linkFlags, frameworkPath, linkPath,
+ config, linkLibraries, flags, linkFlags, frameworkPath, linkPath,
this->GeneratorTarget, useWatcomQuote);
linkFlags = cmSystemTools::TrimWhitespace(linkFlags);