summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/nim.lua
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-01-28 04:58:48 +0300
committerSaikari <[email protected]>2026-01-28 04:58:48 +0300
commitdc9ce57e004a18678b3d34a9502560fdbf43a742 (patch)
treeebbc139aec0d5c81547dd84aedeaff9a417df3cf /xmake/modules/core/tools/nim.lua
parent31738aa58d1d1ef893124e544440bf9a86981b45 (diff)
feat: add stb_image support and enhance include directory handling for Nim packages
Diffstat (limited to 'xmake/modules/core/tools/nim.lua')
-rw-r--r--xmake/modules/core/tools/nim.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/nim.lua b/xmake/modules/core/tools/nim.lua
index b37d29da5..b327cb09c 100644
--- a/xmake/modules/core/tools/nim.lua
+++ b/xmake/modules/core/tools/nim.lua
@@ -133,6 +133,11 @@ function nf_includedir(self, dir)
return {string.format("--passC:\"-I%s\"", path.translate(dir))}
end
+-- make the sysincludedir flag
+function nf_sysincludedir(self, dir)
+ return nf_includedir(self, dir)
+end
+
-- make the link flag
function nf_link(self, lib)
if self:is_plat("windows") then