summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-09 00:44:44 +0800
committerruki <[email protected]>2025-01-09 00:44:44 +0800
commita74774a809de30e6e473157233aa47bbabb272d4 (patch)
tree772dce6b904c7693c1c19695b172eee1a43df2f8 /xmake/core/project/project.lua
parent672112971ac26e4ed5bc5789938a82e8dbc22c86 (diff)
improve has_config
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index a41ecc0cf..61c1361db 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -113,7 +113,7 @@ end
-- some configs are enabled?
function project._api_has_config(interp, ...)
- return config.has(...)
+ return config.has(table.pack(...), {namespace = interp:namespace()})
end
-- some packages are enabled?