Skip to content

Commit 7130787

Browse files
authored
Merge pull request #2357 from apple/windows-android-cross-compile
build: allow passing Swift specific link flags
2 parents 52334ad + 4da9a27 commit 7130787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/SwiftSupport.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function(add_swift_target target)
4141
cmake_parse_arguments(AST "${options}" "${single_value_options}" "${multiple_value_options}" ${ARGN})
4242

4343
set(compile_flags ${CMAKE_SWIFT_FLAGS})
44-
set(link_flags)
44+
set(link_flags ${CMAKE_SWIFT_LINK_FLAGS})
4545

4646
list(APPEND compile_flags -incremental)
4747
ProcessorCount(CPU_COUNT)

0 commit comments

Comments
 (0)