File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1669,11 +1669,9 @@ function(add_swift_library name)
1669
1669
1670
1670
# Collect architecture agnostic SDK linker flags
1671
1671
set (swiftlib_link_flags_all ${SWIFTLIB_LINK_FLAGS} )
1672
- if (${sdk} STREQUAL IOS_SIMULATOR )
1673
- if (${name} STREQUAL swiftMediaPlayer )
1674
- # message("DISABLING AUTOLINK FOR swiftMediaPlayer")
1675
- list (APPEND swiftlib_link_flags_all "-Xlinker" "-ignore_auto_link" )
1676
- endif ()
1672
+ if (${sdk} STREQUAL IOS_SIMULATOR AND ${name} STREQUAL swiftMediaPlayer )
1673
+ # message("DISABLING AUTOLINK FOR swiftMediaPlayer")
1674
+ list (APPEND swiftlib_link_flags_all "-Xlinker" "-ignore_auto_link" )
1677
1675
endif ()
1678
1676
1679
1677
# We unconditionally removed "-z,defs" from CMAKE_SHARED_LINKER_FLAGS in
You can’t perform that action at this time.
0 commit comments