cmGeneratorExpressionDAGChecker: Construct with initializer list syntax

This commit is contained in:
Brad King
2025-02-22 07:22:58 -05:00
parent c3735f37da
commit 2ccbad90e6
13 changed files with 122 additions and 82 deletions

View File

@@ -86,9 +86,14 @@ std::string cmExportTryCompileFileGenerator::FindTargets(
tgt, "LINK_OPTIONS", nullptr, nullptr, tgt->GetLocalGenerator(),
this->Config);
}
cmGeneratorExpressionDAGChecker dagChecker(
tgt, propName, nullptr, parentDagChecker.get(), tgt->GetLocalGenerator(),
this->Config);
cmGeneratorExpressionDAGChecker dagChecker{
tgt,
propName,
nullptr,
parentDagChecker.get(),
tgt->GetLocalGenerator(),
this->Config,
};
std::unique_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(*prop);