diff options
author | Brad King <brad.king@kitware.com> | 2024-05-08 15:49:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-05-21 13:22:51 (GMT) |
commit | 633afa0b2e27a6eca3a4b1e123a80cf4338fe509 (patch) | |
tree | be1f022ff03bfe3a2589b6caf43a24a54231405f /Source/cmExportTryCompileFileGenerator.cxx | |
parent | e64d09a72957434187887fec8cbd89be042f173b (diff) | |
download | CMake-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.cxx | 6 |
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); |