Make OpenCV optional in main cmake file

pull/516/head
f4exb 2020-04-19 10:36:20 +02:00
rodzic 577ca59760
commit 3034dcddce
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)