diff options
| author | Jan200101 <sentrycraft123@gmail.com> | 2025-01-27 10:53:33 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-01-28 14:23:42 +0100 |
| commit | bf6ee7cb3448faf981edc689791b0a9cbf728a1b (patch) | |
| tree | 0c0e71881a19aeeec263583a2a8699b91b6e50bc | |
| parent | aa37a5a0c4e5a74aebc029c6513f762da2208658 (diff) | |
| download | zig-bf6ee7cb3448faf981edc689791b0a9cbf728a1b.tar.gz zig-bf6ee7cb3448faf981edc689791b0a9cbf728a1b.zip | |
cmake: use cache entry for extra build args to get the type correct
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ca49e3be5..2f5ce8529e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |
