diff --git a/CMakeLists.txt b/CMakeLists.txt index 58a092e..ed4a6d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,7 @@ find_package(EBML CONFIG REQUIRED) find_package(JPEG REQUIRED) find_library(JPEG_TURBO turbojpeg REQUIRED) find_package(Matroska CONFIG REQUIRED) +add_definitions(-DMATROSKA_VERSION=2) find_package(libsoundio CONFIG REQUIRED) find_package(libusb CONFIG REQUIRED) find_package(libuvc CONFIG REQUIRED) find_package(libyuv CONFIG REQUIRED)