From 7c2ddd99a3770e7750e1f50b8d2f4a15fd3cc5f7 Mon Sep 17 00:00:00 2001 From: Nikolaus Demmel Date: Wed, 23 Feb 2022 03:52:35 +0100 Subject: [PATCH] macos: fix compilation with latest ffmpeg --- thirdparty/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index f552569..c687aba 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -19,6 +19,10 @@ set(BUILD_EXAMPLES OFF CACHE BOOL "Enable BUILD_EXAMPLES") set(BUILD_PANGOLIN_LIBREALSENSE OFF CACHE BOOL "Enable librealsense") set(BUILD_PANGOLIN_LIBREALSENSE2 OFF CACHE BOOL "Enable librealsense2") +# disable ffmpeg b/c build is broken on macOS since 2022-02 +# see: https://github.com/stevenlovegrove/Pangolin/issues/737 +set(BUILD_PANGOLIN_FFMPEG OFF CACHE BOOL "Build support for ffmpeg video input") + set(EIGEN_INCLUDE_DIR "${EIGEN3_INCLUDE_DIR}") set(EIGEN_INCLUDE_DIRS "${EIGEN3_INCLUDE_DIR}")