diff --git a/src/actions/make/_make.lua b/src/actions/make/_make.lua index c2d615b0..f13bdbbc 100644 --- a/src/actions/make/_make.lua +++ b/src/actions/make/_make.lua @@ -144,8 +144,19 @@ _p('') if kind == "workspace" then - _p('.NOTPARALLEL:') - _p('') + local haspch = false + for _, prj in ipairs(target.projects) do + for cfg in project.eachconfig(prj) do + if cfg.pchheader then + haspch = true + end + end + end + + if haspch then + _p('.NOTPARALLEL:') + _p('') + end end make.defaultconfig(target)