File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2133,7 +2133,10 @@ function(add_swift_target_library name)
2133
2133
2134
2134
list (APPEND swiftlib_swift_compile_flags_all "-Fsystem" "${ios_support_frameworks_path} " )
2135
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} " )
2136
+ # 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} " )
2137
2140
endif ()
2138
2141
2139
2142
if (sdk IN_LIST SWIFT_APPLE_PLATFORMS AND SWIFTLIB_IS_SDK_OVERLAY )
You can’t perform that action at this time.
0 commit comments