Skip to content

Commit 2b5fa68

Browse files
authored
Merge pull request swiftlang#29499 from kateinoigakukun/katei/fix-mismatch-compile-flags
2 parents ccde540 + 6873005 commit 2b5fa68

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
@@ -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)