summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/makefile/makefile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project/makefile/makefile.lua')
-rw-r--r--xmake/plugins/project/makefile/makefile.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/project/makefile/makefile.lua b/xmake/plugins/project/makefile/makefile.lua
index f0326e6e2..811c9e98f 100644
--- a/xmake/plugins/project/makefile/makefile.lua
+++ b/xmake/plugins/project/makefile/makefile.lua
@@ -351,7 +351,8 @@ function _make_all(makefile)
-- TODO
-- disable precompiled header first
for _, target in pairs(project.targets()) do
- target:set("precompiled_header", nil)
+ target:set("pcheader", nil)
+ target:set("pcxxheader", nil)
end
-- make variables for target flags