summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
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);