summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-15 00:32:48 +0800
committerruki <[email protected]>2022-12-15 00:32:48 +0800
commitf12120f9b0d6118df89b50217350d26ed9398496 (patch)
tree44b497b552240f47dc2e6d61c6276832afeec485 /core/xmake.lua
parent3574928f7cbcdfc722c4ab35a9c0d4bf10935ec7 (diff)
improve xmake.sh for lua
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index a8a29e2fd..5519bbecf 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -98,9 +98,11 @@ if is_plat("windows") then
end
-- add projects
-includes("src/lua-cjson", "src/sv", "src/lua", "src/lz4", "src/tbox", "src/xmake", "src/demo")
+includes("src/lua-cjson", "src/sv", "src/lz4", "src/tbox", "src/xmake", "src/demo")
if is_config("runtime", "luajit") then
includes("src/luajit")
+else
+ includes("src/lua")
end
if is_plat("windows") then
includes("src/pdcurses")