Call find_package for OpenCV on Windows for modatv

pull/1381/head
Jon Beniston 2022-08-06 18:11:55 +01:00
rodzic fd98de7b38
commit 981781eabe
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -444,6 +444,8 @@ endif()
# unfortunately OpenCV library from windows doesn't set the cache option
if(WIN32)
find_package(OpenCV OPTIONAL_COMPONENTS core highgui imgproc imgcodecs videoio) # channeltx/modatv
set(OpenCV_INCLUDE_DIRS "${OpenCV_INCLUDE_DIRS}" CACHE INTERNAL "")
set(OpenCV_LIBS "${OpenCV_LIBS}" CACHE INTERNAL "")