Skip to content

Commit 9fe2f34

Browse files
emutavchieocanha
authored andcommitted
[EME][GStreamer][OCDM] Detect Rialto OCDM implementation https://bugs.webkit.org/show_bug.cgi?id=312887
Reviewed by Xabier Rodriguez-Calvar. Rialto OCDM is yet another implementation of the Thunder OCDM interface, so it should be handled by the CMake scripts in charge of finding the Thunder libraries. See: #1650 This patch adds the Rialto OCDM directories to the Thunder path and library finding CMake helper functions. Author: Eugene Mutavchi <Ievgen_Mutavchi@comcast.com> * Source/cmake/FindThunder.cmake: Add the opencdm and ocdmRialto directories. Canonical link: https://commits.webkit.org/311691@main
1 parent b47e544 commit 9fe2f34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/cmake/FindThunder.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ find_path(THUNDER_INCLUDE_DIR
5252
NAMES open_cdm.h
5353
HINTS ${PC_THUNDER_INCLUDEDIR}
5454
${PC_THUNDER_INCLUDE_DIRS}
55-
PATH_SUFFIXES "WPEFramework/ocdm/" "Thunder/ocdm/"
55+
PATH_SUFFIXES "WPEFramework/ocdm/" "Thunder/ocdm/" "opencdm"
5656
)
5757

5858
find_library(THUNDER_LIBRARY
59-
NAMES ocdm ClientOCDM
59+
NAMES ocdm ocdmRialto ClientOCDM
6060
HINTS ${PC_THUNDER_LIBDIR}
6161
${PC_THUNDER_LIBRARY_DIRS}
6262
)

0 commit comments

Comments
 (0)