summaryrefslogtreecommitdiff
path: root/xmake/rules/module/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-04 22:23:17 +0800
committerruki <[email protected]>2024-04-04 22:23:17 +0800
commit68e85923f503a273f0ac3c3409f67576457c0b33 (patch)
tree50b0a95506f53feff7675db5d8cf4b26f4343f70 /xmake/rules/module/xmake.lua
parent3fa5c97225925b0d8140bf271f068031af4ccadb (diff)
fix lua include
Diffstat (limited to 'xmake/rules/module/xmake.lua')
-rw-r--r--xmake/rules/module/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/module/xmake.lua b/xmake/rules/module/xmake.lua
index fb661dd7a..0515bd842 100644
--- a/xmake/rules/module/xmake.lua
+++ b/xmake/rules/module/xmake.lua
@@ -35,6 +35,7 @@ rule("module.shared")
target:set("targetdir", config.buildir())
target:set("strip", "none")
target:add("includedirs", path.join(os.programdir(), "scripts", "module"))
+ target:add("includedirs", path.join(os.programdir(), "scripts", "module", "luawrap"))
if xmake.luajit() then
target:add("defines", "XMI_USE_LUAJIT")
end