Commit 4997eef9 authored by Ghislain MARY's avatar Ghislain MARY

Rename Matroska2 to BcMatroska2.

parent c70efb55
......@@ -299,9 +299,9 @@ if(ENABLE_VPX)
endif()
endif()
if(ENABLE_MKV)
find_package(Matroska2 QUIET)
if(NOT MATROSKA2_FOUND)
message(WARNING "Could not find Matroska2 library, mediastreamer2 will be compiled without MKV support.")
find_package(BcMatroska2 QUIET)
if(NOT BCMATROSKA2_FOUND)
message(WARNING "Could not find BcMatroska2 library, mediastreamer2 will be compiled without MKV support.")
set(ENABLE_MKV OFF CACHE BOOL "Enable support of MKV files reading and writing." FORCE)
endif()
endif()
......@@ -389,8 +389,8 @@ endif()
if(VPX_FOUND)
list(APPEND MEDIASTREAMER2_INCLUDE_DIRS ${VPX_INCLUDE_DIRS})
endif()
if(MATROSKA2_FOUND)
list(APPEND MEDIASTREAMER2_INCLUDE_DIRS ${MATROSKA2_INCLUDE_DIRS})
if(BCMATROSKA2_FOUND)
list(APPEND MEDIASTREAMER2_INCLUDE_DIRS ${BCMATROSKA2_INCLUDE_DIRS})
endif()
if(V4L_FOUND)
list(APPEND MEDIASTREAMER2_INCLUDE_DIRS ${V4L_INCLUDE_DIRS})
......@@ -499,7 +499,7 @@ endif()
if(SPEEXDSP_FOUND)
set(HAVE_SPEEXDSP 1)
endif()
if(MATROSKA2_FOUND)
if(BCMATROSKA2_FOUND)
set(HAVE_MATROSKA 1)
endif()
if(TURBO_JPEG_FOUND)
......
......@@ -458,7 +458,7 @@ if(ENABLE_VIDEO)
list(APPEND VOIP_SOURCE_FILES_C videofilters/x11video.c)
endif()
endif()
if(MATROSKA2_FOUND)
if(BCMATROSKA2_FOUND)
list(APPEND VOIP_SOURCE_FILES_C
videofilters/mkv.c
utils/mkv_reader.c
......@@ -627,8 +627,8 @@ endif()
if(VPX_FOUND)
list(APPEND VOIP_LIBS ${VPX_LIBRARIES})
endif()
if(MATROSKA2_FOUND)
list(APPEND VOIP_LIBS ${MATROSKA2_LIBRARIES})
if(BCMATROSKA2_FOUND)
list(APPEND VOIP_LIBS ${BCMATROSKA2_LIBRARIES})
endif()
if (SCREEN_FOUND)
list(APPEND VOIP_LIBS ${SCREEN_LIBRARIES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment