mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user