mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
cmake: use cache entry for extra build args to get the type correct
This commit is contained in:
parent
aa37a5a0c4
commit
bf6ee7cb34
@ -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…
x
Reference in New Issue
Block a user