1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 09:16:39 -04:00

Merge pull request #1381 from srcejon/fix_1366

Call find_package for OpenCV on Windows for modatv
This commit is contained in:
Edouard Griffiths 2022-08-06 22:27:57 +02:00 committed by GitHub
commit 0e4c903790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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