Skip to content

Commit

Permalink
Link webrtc libraries with '-ObjC' to fix categories.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Aug 11, 2020
1 parent bff30ad commit 119b164
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions external/webrtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ elseif (APPLE)
sdk/${webrtc_lib_prefix}vp8
sdk/${webrtc_lib_prefix}vp9
sdk/${webrtc_lib_prefix}wrapped_native_codec_objc
sdk/${webrtc_lib_prefix}base_native_additions_objc
)
target_include_directories(external_webrtc
INTERFACE
Expand All @@ -101,6 +102,11 @@ if (WIN32)
amstrmid.lib
msdmo.lib
)
elseif (APPLE)
target_link_libraries(external_webrtc
INTERFACE
-ObjC
)
endif()

target_link_libraries(external_webrtc
Expand Down

0 comments on commit 119b164

Please sign in to comment.