diff options
| -rw-r--r-- | xmake/modules/target/action/install/cmake_importfiles.lua | 2 |
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 |
