mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
cmake: use cache entry for extra build args to get the type correct
This commit is contained in:
parent
aa37a5a0c4
commit
bf6ee7cb34
1 changed files with 1 additions and 1 deletions
|
|
@ -932,7 +932,7 @@ set(ZIG_BUILD_ARGS
|
|||
-Dno-langref
|
||||
)
|
||||
|
||||
option(ZIG_EXTRA_BUILD_ARGS "Extra zig build args")
|
||||
set(ZIG_EXTRA_BUILD_ARGS "" CACHE STRING "Extra zig build args")
|
||||
if(ZIG_EXTRA_BUILD_ARGS)
|
||||
list(APPEND ZIG_BUILD_ARGS ${ZIG_EXTRA_BUILD_ARGS})
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue