We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9676625 commit 0bd1e61Copy full SHA for 0bd1e61
cmake/modules/AddSwift.cmake
@@ -2133,7 +2133,10 @@ function(add_swift_target_library name)
2133
2134
list(APPEND swiftlib_swift_compile_flags_all "-Fsystem" "${ios_support_frameworks_path}")
2135
list(APPEND swiftlib_c_compile_flags_all "-iframework" "${ios_support_frameworks_path}")
2136
- list(APPEND swiftlib_link_flags_all "-F" "${ios_support_frameworks_path}")
+ # We collate -F with the framework path to avoid unwanted deduplication
2137
+ # of options by target_compile_options -- this way no undesired
2138
+ # side effects are introduced should a new search path be added.
2139
+ list(APPEND swiftlib_link_flags_all "-F${ios_support_frameworks_path}")
2140
endif()
2141
2142
if(sdk IN_LIST SWIFT_APPLE_PLATFORMS AND SWIFTLIB_IS_SDK_OVERLAY)
0 commit comments