mirror of
https://github.com/opencv/opencv.git
synced 2024-12-02 16:00:17 +08:00
15 lines
448 B
CMake
15 lines
448 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_gpuoptflow opencv_gpubgsegm opencv_gpustereo)
|
|
|
|
if(HAVE_CUDA)
|
|
add_subdirectory(perf4au)
|
|
endif()
|