15 lines
429 B
CMake
15 lines
429 B
CMake
if(ANDROID OR IOS)
|
|
ocv_module_disable(gpu)
|
|
endif()
|
|
|
|
set(the_description "GPU-accelerated Computer Vision")
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow -Wunused-parameter)
|
|
|
|
ocv_define_module(gpu opencv_gpuarithm opencv_gpufilters opencv_gpuwarping opencv_gpuimgproc
|
|
opencv_gpufeatures2d opencv_gpuvideo opencv_gpustereo)
|
|
|
|
if(HAVE_CUDA)
|
|
add_subdirectory(perf4au)
|
|
endif()
|