mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 22:00:25 +08:00
18 lines
409 B
CMake
18 lines
409 B
CMake
if(ANDROID OR IOS)
|
|
ocv_module_disable(gpuarithm)
|
|
endif()
|
|
|
|
set(the_description "GPU-accelerated Operations on Matrices")
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations)
|
|
|
|
ocv_define_module(gpuarithm opencv_core OPTIONAL opencv_gpulegacy opencv_imgproc)
|
|
|
|
if(HAVE_CUBLAS)
|
|
CUDA_ADD_CUBLAS_TO_TARGET(${the_module})
|
|
endif()
|
|
|
|
if(HAVE_CUFFT)
|
|
CUDA_ADD_CUFFT_TO_TARGET(${the_module})
|
|
endif()
|