mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
Merge pull request #1381 from srcejon/fix_1366
Call find_package for OpenCV on Windows for modatv
This commit is contained in:
commit
0e4c903790
@ -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 "")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user