endif()
if(HAVE_CUDA)
+ if(NOT HAVE_opencv_cudev)
+ message(FATAL_ERROR "CUDA: OpenCV requires enabled 'cudev' module from 'opencv_contrib' repository: https://github.com/opencv/opencv_contrib")
+ endif()
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wenum-compare -Wunused-function -Wshadow)
endif()
"${OPENCV_HAL_LINKER_LIBS}"
)
+if(HAVE_HPX)
+ ocv_target_link_libraries(${the_module} LINK_PRIVATE "${HPX_LIBRARIES}")
+endif()
+
ocv_add_accuracy_tests()
ocv_add_perf_tests()