From 862c6644e2b3d55e45bac45af190806f0c8b1c8a Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 19 Apr 2020 10:36:20 +0200 Subject: [PATCH] Make OpenCV optional in main cmake file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 364768b49..61fb9413d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,7 +323,7 @@ find_package(PkgConfig REQUIRED) find_package(Boost REQUIRED) find_package(FFTW3F REQUIRED) find_package(LibUSB REQUIRED) # used by so many packages -find_package(OpenCV REQUIRED core highgui imgproc imgcodecs videoio) # channeltx/modatv +find_package(OpenCV OPTIONAL_COMPONENTS core highgui imgproc imgcodecs videoio) # channeltx/modatv # macOS compatibility if(APPLE)