diff options
| author | Saikari <[email protected]> | 2025-10-04 19:15:49 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-04 19:15:49 +0300 |
| commit | 1671026dcf06a9ec3331dc720c27370e1f75b2f4 (patch) | |
| tree | a77d7a90cdad99e81f1a5a8cf2de36d3ccf65f4a | |
| parent | 0e69ae2a09410080ee90c053b5e46741020ea958 (diff) | |
Update cmake_importfiles.lua
| -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 6293cfb39..ddbac2041 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 = target:is_arch("armeabi", "armeabi-v7a", "x86", "mips", "i386", "armv7", "armv7s", "mipsel", "wasm32") and "4" or "8" + target_ptrbytes = target:is_arch64() and "8" or "4" else target_ptrbytes = target:check_sizeof("void*") end |
