mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
cmake: add -Dversion-string flag to zig build command
This commit is contained in:
parent
011663eea5
commit
2434cb6f06
@ -1055,6 +1055,7 @@ set(ZIG_INSTALL_ARGS "build"
|
||||
${ZIG_SINGLE_THREADED_ARG}
|
||||
"-Dtarget=${ZIG_TARGET_TRIPLE}"
|
||||
"-Dcpu=${ZIG_TARGET_MCPU}"
|
||||
"-Dversion-string=${ZIG_VERSION}"
|
||||
)
|
||||
|
||||
add_custom_target(stage3 ALL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user