aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch')
-rw-r--r--ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch b/ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch
new file mode 100644
index 000000000..d715cf599
--- /dev/null
+++ b/ports/azure-kinect-sensor-sdk/add-MATROSKA_VERSION-define.patch
@@ -0,0 +1,12 @@
+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_library(LibUSB libusb-1.0 REQUIRED)
+ find_package(libyuv CONFIG REQUIRED)