summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-28 23:13:31 +0800
committerruki <[email protected]>2026-02-28 23:13:31 +0800
commit0b39869ef9dca5d0f35119540a04358d6a37d8f3 (patch)
tree99f19ad5179e985a10cd6ed7566f7315d89ce15b /xmake/modules
parenta4b8b3e4d3725ada922dbd62d48f833a83746dcb (diff)
rename TARGETNAME to TARGET_NAME
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 c9c454554..fa00a1ef8 100644
--- a/xmake/modules/target/action/install/cmake_importfiles.lua
+++ b/xmake/modules/target/action/install/cmake_importfiles.lua
@@ -57,7 +57,7 @@ function _get_builtinvars(target, installdir, libdir)
raise("target(%s): libdir(%s) is not in installdir(%s)", target:name(), libdir, installdir)
end
return {LIBDIR = libsubdir,
- TARGETNAME = target:name(),
+ TARGET_NAME = target:name(),
PROJECTNAME = project.name() or target:name(),
TARGETFILENAME = target:targetfile() and _get_libfilename(target, libdir),
TARGETKIND = target:is_headeronly() and "INTERFACE" or (target:is_shared() and "SHARED" or "STATIC"),