summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2025-10-05 00:43:57 +0300
committerGitHub <[email protected]>2025-10-05 00:43:57 +0300
commitc003d1e4ceafeae8e6e5c91262dc943714e28a3f (patch)
tree2b41fed3264055162d7afd927414d6499fb81192
parent488d0f469d5119d0c973bd45c7184b613747f574 (diff)
Update cmake_importfiles.lua
-rw-r--r--xmake/modules/target/action/install/cmake_importfiles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua
index 474a67775..2e7480a43 100644
--- a/xmake/modules/target/action/install/cmake_importfiles.lua
+++ b/xmake/modules/target/action/install/cmake_importfiles.lua
@@ -40,7 +40,7 @@ end
function _get_builtinvars(target, installdir)
local target_ptrbytes
if target:is_plat("wasm") then
- target_ptrbytes = is_arch("wasm32") and "4" or "8"
+ target_ptrbytes = target:is_arch("wasm32") and "4" or "8"
elseif target:is_plat("cross") then
target_ptrbytes = target:check_sizeof("void*")
else