2014-03-05 16:31:04 +08:00
|
|
|
if(IOS)
|
2013-02-25 18:33:00 +08:00
|
|
|
ocv_module_disable(superres)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(the_description "Super Resolution")
|
2014-02-14 21:56:03 +08:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 -Wundef -Wshadow)
|
2014-03-05 16:31:04 +08:00
|
|
|
if(ENABLE_DYNAMIC_CUDA)
|
|
|
|
add_definitions(-DDYNAMIC_CUDA_SUPPORT)
|
|
|
|
ocv_define_module(superres EXCLUDE_CUDA opencv_imgproc opencv_video OPTIONAL opencv_highgui opencv_ocl)
|
|
|
|
else()
|
|
|
|
ocv_define_module(superres opencv_imgproc opencv_video OPTIONAL opencv_gpu opencv_highgui opencv_ocl ${CUDA_LIBRARIES} ${CUDA_npp_LIBRARY})
|
|
|
|
endif()
|