Title: [275409] trunk/Source/ThirdParty/libwebrtc
Revision
275409
Author
clo...@igalia.com
Date
2021-04-02 01:19:56 -0700 (Fri, 02 Apr 2021)

Log Message

[CMake][GStremer] Fails to build if OpenH264 is not present
https://bugs.webkit.org/show_bug.cgi?id=224089

Reviewed by Philippe Normand.

* CMakeLists.txt: Only try to link with OpenH264 when it is found.

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt (275408 => 275409)


--- trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt	2021-04-02 08:11:44 UTC (rev 275408)
+++ trunk/Source/ThirdParty/libwebrtc/CMakeLists.txt	2021-04-02 08:19:56 UTC (rev 275409)
@@ -1530,7 +1530,9 @@
 
 target_link_libraries(webrtc ${LIBOPUS_LIBRARY})
 
-target_link_libraries(webrtc ${Openh264_LIBRARY})
+if (Openh264_FOUND)
+    target_link_libraries(webrtc ${Openh264_LIBRARY})
+endif ()
 
 # libsrtp package compilation
 set(libsrtp_SOURCES

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (275408 => 275409)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2021-04-02 08:11:44 UTC (rev 275408)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2021-04-02 08:19:56 UTC (rev 275409)
@@ -1,3 +1,12 @@
+2021-04-02  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        [CMake][GStremer] Fails to build if OpenH264 is not present
+        https://bugs.webkit.org/show_bug.cgi?id=224089
+
+        Reviewed by Philippe Normand.
+
+        * CMakeLists.txt: Only try to link with OpenH264 when it is found.
+
 2021-03-31  Youenn Fablet  <you...@apple.com>
 
         In case WebRTC VTB decoder returns a null frame, mark the decoder as failing
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to