Skip to content

Commit 6873005

Browse files
Fix mismatch use of target_link_options
1 parent a2df6b9 commit 6873005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmake/modules/AddSwift.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ function(_add_swift_library_single target name)
14671467
endif()
14681468

14691469
if(target_static)
1470-
target_link_options(${target_static} PRIVATE
1470+
target_compile_options(${target_static} PRIVATE
14711471
${c_compile_flags})
14721472
# FIXME: The fallback paths here are going to be dynamic libraries.
14731473

0 commit comments

Comments
 (0)