summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorHoildkv <[email protected]>2021-07-19 13:35:21 +0800
committerGitHub <[email protected]>2021-07-19 13:35:21 +0800
commit16bb42a5ba02717685201f6702eb818cd0b99902 (patch)
treef4e19b96bf18f96f36203d8f9adde068597f8725 /xmake/modules
parent3c3f90e4407257bacdeb6939aabdeb7fc732f355 (diff)
rename targetbytes
Diffstat (limited to 'xmake/modules')
-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 94f68a482..12d044251 100644
--- a/xmake/modules/target/action/install/cmake_importfiles.lua
+++ b/xmake/modules/target/action/install/cmake_importfiles.lua
@@ -28,7 +28,7 @@ function _get_builtinvars(target, installdir)
TARGETFILENAME = path.filename(target:targetfile()),
TARGETKIND = target:is_shared() and "SHARED" or "STATIC",
PACKAGE_VERSION = target:get("version") or "1.0.0",
- TARGETBYTES = target:is_arch("x86", "i386") and "4" or "8"}
+ TARGET_PTRBYTES = target:is_arch("x86", "i386") and "4" or "8"}
end
-- install cmake import file