mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 06:10:02 +08:00
48c9c24da6
it is generated by CUDA headers and we can't fix it
10 lines
329 B
CMake
10 lines
329 B
CMake
if(NOT HAVE_CUDA)
|
|
ocv_module_disable(cudalegacy)
|
|
endif()
|
|
|
|
set(the_description "CUDA-accelerated Computer Vision (legacy)")
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4127 /wd4130 /wd4324 /wd4512 /wd4310 -Wundef -Wmissing-declarations -Wuninitialized -Wshadow)
|
|
|
|
ocv_define_module(cudalegacy opencv_core OPTIONAL opencv_objdetect)
|