diff options
| author | ruki <[email protected]> | 2026-02-28 23:13:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-28 23:13:31 +0800 |
| commit | 0b39869ef9dca5d0f35119540a04358d6a37d8f3 (patch) | |
| tree | 99f19ad5179e985a10cd6ed7566f7315d89ce15b /xmake/modules | |
| parent | a4b8b3e4d3725ada922dbd62d48f833a83746dcb (diff) | |
rename TARGETNAME to TARGET_NAME
Diffstat (limited to 'xmake/modules')
| -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 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"), |
