summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/module.binary
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/c++/module.binary')
-rw-r--r--xmake/templates/c++/module.binary/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/templates/c++/module.binary/xmake.lua b/xmake/templates/c++/module.binary/xmake.lua
index 47fed5bc6..d73d457d3 100644
--- a/xmake/templates/c++/module.binary/xmake.lua
+++ b/xmake/templates/c++/module.binary/xmake.lua
@@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release")
add_moduledirs("modules")
-target("${TARGETNAME}")
+target("${TARGET_NAME}")
set_kind("binary")
add_files("src/*.cpp")
on_config(function (target)