blob: 5720bf6097bef8e48ad0283828248ba5661a91fd (
plain)
1
2
3
4
5
6
7
|
find_package(OpenCV QUIET)
otr_module(video STATIC)
if(OpenCV_FOUND)
target_compile_definitions(${self} PUBLIC -DOTR_HAS_OPENCV)
target_link_libraries(${self} opencv_videoio opencv_core)
endif()
|