mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04: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
|
# unfortunately OpenCV library from windows doesn't set the cache option
|
||||||
if(WIN32)
|
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_INCLUDE_DIRS "${OpenCV_INCLUDE_DIRS}" CACHE INTERNAL "")
|
||||||
set(OpenCV_LIBS "${OpenCV_LIBS}" CACHE INTERNAL "")
|
set(OpenCV_LIBS "${OpenCV_LIBS}" CACHE INTERNAL "")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user