From b73504bec95962da74afe23a9cb1810f9f66572d Mon Sep 17 00:00:00 2001 From: Saikari Date: Wed, 1 Oct 2025 18:40:48 +0300 Subject: Update cmake_importfiles.lua --- xmake/modules/target/action/install/cmake_importfiles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua index cf1be782a..6b3d97546 100644 --- a/xmake/modules/target/action/install/cmake_importfiles.lua +++ b/xmake/modules/target/action/install/cmake_importfiles.lua @@ -43,7 +43,7 @@ function _get_builtinvars(target, installdir) TARGETFILENAME = target:targetfile() and _get_libfile(target, installdir), TARGETKIND = target:is_headeronly() and "INTERFACE" or (target:is_shared() and "SHARED" or "STATIC"), PACKAGE_VERSION = target:get("version") or "1.0.0", - TARGET_PTRBYTES = target:is_arch("armeabi", "armeabi-v7a", "x86", "mips", "i386", "armv7", "armv7s", "mipsel", "wasm32") and "4" or "8"} + TARGET_PTRBYTES = target:check_sizeof("void*")} end -- install cmake config file -- cgit v1.3.1 From 6ad2d89e114972b9ba99ea5a1e029ab44cdf6def Mon Sep 17 00:00:00 2001 From: Saikari Date: Wed, 1 Oct 2025 22:22:10 +0300 Subject: Update cmake_importfiles.lua --- xmake/modules/target/action/install/cmake_importfiles.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua index 6b3d97546..ba8815d23 100644 --- a/xmake/modules/target/action/install/cmake_importfiles.lua +++ b/xmake/modules/target/action/install/cmake_importfiles.lua @@ -169,4 +169,3 @@ function main(target, opt) end end end - -- cgit v1.3.1 From cf83546b9bc1dcbc243f39d76a0c8b5bf4f8f62e Mon Sep 17 00:00:00 2001 From: Saikari Date: Wed, 1 Oct 2025 22:23:15 +0300 Subject: Update cmake_importfiles.lua --- xmake/modules/target/action/install/cmake_importfiles.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/target/action/install/cmake_importfiles.lua b/xmake/modules/target/action/install/cmake_importfiles.lua index ba8815d23..6b3d97546 100644 --- a/xmake/modules/target/action/install/cmake_importfiles.lua +++ b/xmake/modules/target/action/install/cmake_importfiles.lua @@ -169,3 +169,4 @@ function main(target, opt) end end end + -- cgit v1.3.1