Commit a94cb3bb authored by Ghislain MARY's avatar Ghislain MARY

Search for Matroska2 quietly when building with CMake.

parent 68372267
......@@ -265,8 +265,9 @@ if(ENABLE_VPX)
endif()
endif()
if(ENABLE_MKV)
find_package(Matroska2)
find_package(Matroska2 QUIET)
if(NOT MATROSKA2_FOUND)
message(WARNING "Could not find Matroska2 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()
......
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