Skip to content

Commit ba24407

Browse files
committed
[CMake] Fix build when SWIFT_STDLIB_ENABLE_RESILIENCE is off.
*Shatner voice* CMaaaaaaaaaake!
1 parent a4a4a80 commit ba24407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function(_compile_swift_files dependency_target_out_var_name)
335335
list(APPEND swift_flags
336336
"-nostdimport" "-parse-stdlib" "-module-name" "Swift")
337337
if (NOT SWIFT_STDLIB_ENABLE_RESILIENCE)
338-
list(append swift_flags "-Xfrontend" "-sil-serialize-all")
338+
list(APPEND swift_flags "-Xfrontend" "-sil-serialize-all")
339339
endif()
340340
endif()
341341

0 commit comments

Comments
 (0)