summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-08 15:49:51 (GMT)
committerBrad King <brad.king@kitware.com>2024-05-21 13:22:51 (GMT)
commit633afa0b2e27a6eca3a4b1e123a80cf4338fe509 (patch)
treebe1f022ff03bfe3a2589b6caf43a24a54231405f /Source/cmGeneratorTarget.cxx
parente64d09a72957434187887fec8cbd89be042f173b (diff)
downloadCMake-633afa0b2e27a6eca3a4b1e123a80cf4338fe509.zip
CMake-633afa0b2e27a6eca3a4b1e123a80cf4338fe509.tar.gz
CMake-633afa0b2e27a6eca3a4b1e123a80cf4338fe509.tar.bz2
cmGeneratorExpressionDAGChecker: Make config name available in constructor
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index daeac57..55f34f8 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -709,8 +709,8 @@ std::string cmGeneratorTarget::GetLinkerTypeProperty(
std::string propName{ "LINKER_TYPE" };
auto linkerType = this->GetProperty(propName);
if (!linkerType.IsEmpty()) {
- cmGeneratorExpressionDAGChecker dagChecker(this, propName, nullptr,
- nullptr, this->LocalGenerator);
+ cmGeneratorExpressionDAGChecker dagChecker(
+ this, propName, nullptr, nullptr, this->LocalGenerator, config);
auto ltype =
cmGeneratorExpression::Evaluate(*linkerType, this->GetLocalGenerator(),
config, this, &dagChecker, this, lang);
@@ -1176,7 +1176,7 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory(
if (iter == this->SystemIncludesCache.end()) {
cmGeneratorExpressionDAGChecker dagChecker(
this, "SYSTEM_INCLUDE_DIRECTORIES", nullptr, nullptr,
- this->LocalGenerator);
+ this->LocalGenerator, config);
bool excludeImported = this->GetPropertyAsBool("NO_SYSTEM_FROM_IMPORTED");
@@ -1936,8 +1936,8 @@ void cmGeneratorTarget::GetAutoUicOptions(std::vector<std::string>& result,
return;
}
- cmGeneratorExpressionDAGChecker dagChecker(this, "AUTOUIC_OPTIONS", nullptr,
- nullptr, this->LocalGenerator);
+ cmGeneratorExpressionDAGChecker dagChecker(
+ this, "AUTOUIC_OPTIONS", nullptr, nullptr, this->LocalGenerator, config);
cmExpandList(cmGeneratorExpression::Evaluate(prop, this->LocalGenerator,
config, this, &dagChecker),
result);