Skip to content

Commit bf6ee7c

Browse files
Jan200101alexrp
authored andcommitted
cmake: use cache entry for extra build args to get the type correct
1 parent aa37a5a commit bf6ee7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ set(ZIG_BUILD_ARGS
932932
-Dno-langref
933933
)
934934

935-
option(ZIG_EXTRA_BUILD_ARGS "Extra zig build args")
935+
set(ZIG_EXTRA_BUILD_ARGS "" CACHE STRING "Extra zig build args")
936936
if(ZIG_EXTRA_BUILD_ARGS)
937937
list(APPEND ZIG_BUILD_ARGS ${ZIG_EXTRA_BUILD_ARGS})
938938
endif()

0 commit comments

Comments
 (0)