diff --git a/tools/projmgr/src/ProjMgrExtGenerator.cpp b/tools/projmgr/src/ProjMgrExtGenerator.cpp index 3b5e3bb0b..deecccc21 100644 --- a/tools/projmgr/src/ProjMgrExtGenerator.cpp +++ b/tools/projmgr/src/ProjMgrExtGenerator.cpp @@ -95,5 +95,5 @@ bool ProjMgrExtGenerator::GetCgen(const string& contextId, ClayerItem& cgen) { } } } - return false; + return true; } \ No newline at end of file diff --git a/tools/projmgr/src/ProjMgrWorker.cpp b/tools/projmgr/src/ProjMgrWorker.cpp index a3874b796..69516be62 100644 --- a/tools/projmgr/src/ProjMgrWorker.cpp +++ b/tools/projmgr/src/ProjMgrWorker.cpp @@ -4098,7 +4098,10 @@ bool ProjMgrWorker::ExecuteExtGenerator(std::string& generatorId) { bool ProjMgrWorker::ProcessGeneratedLayers(ContextItem& context) { ClayerItem cgen; - if (m_extGenerator->GetCgen(context.name, cgen)) { + if (!m_extGenerator->GetCgen(context.name, cgen)) { + return false; + } + if (!cgen.path.empty()) { context.clayers[cgen.path] = &cgen; if (cgen.packs.size() > 0) { vector packRequirements;