diff options
| -rwxr-xr-x | xmake/actions/config/configheader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/configheader.lua b/xmake/actions/config/configheader.lua index d5f29e859..ec3a9e5ca 100755 --- a/xmake/actions/config/configheader.lua +++ b/xmake/actions/config/configheader.lua @@ -47,7 +47,7 @@ function _make_for_target(files, target) file:print("") -- make version - local version = target:get("version") + local version = project.version() if version then file:print("// version") file:print("#define %s_VERSION \"%s\"", prefix, version) |
