cmake: use cache entry for extra build args to get the type correct

This commit is contained in:
Jan200101 authored and Alex Rønne Petersen committed 2025-01-28 14:23:42 +01:00
1 parent aa37a5a0c4
commit bf6ee7cb34
1 file changed
+1 -1
+1 -1
View File
@@ -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()