summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.cxx')
-rw-r--r--Source/cmExportTryCompileFileGenerator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx
index 4c41ff5..7ce5cd9 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -76,10 +76,12 @@ std::string cmExportTryCompileFileGenerator::FindTargets(
// To please constraint checks of DAGChecker, this property must have
// LINK_OPTIONS property as parent
parentDagChecker = cm::make_unique<cmGeneratorExpressionDAGChecker>(
- tgt, "LINK_OPTIONS", nullptr, nullptr, tgt->GetLocalGenerator());
+ tgt, "LINK_OPTIONS", nullptr, nullptr, tgt->GetLocalGenerator(),
+ this->Config);
}
cmGeneratorExpressionDAGChecker dagChecker(
- tgt, propName, nullptr, parentDagChecker.get(), tgt->GetLocalGenerator());
+ tgt, propName, nullptr, parentDagChecker.get(), tgt->GetLocalGenerator(),
+ this->Config);
std::unique_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(*prop);