summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/static/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/c++/static/xmake.lua')
-rw-r--r--xmake/templates/c++/static/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/templates/c++/static/xmake.lua b/xmake/templates/c++/static/xmake.lua
index 45d81c393..2c15d36e8 100644
--- a/xmake/templates/c++/static/xmake.lua
+++ b/xmake/templates/c++/static/xmake.lua
@@ -4,7 +4,7 @@ target("foo")
set_kind("static")
add_files("src/foo.cpp")
-target("${TARGETNAME}")
+target("${TARGET_NAME}")
set_kind("binary")
add_deps("foo")
add_files("src/main.cpp")