mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
cuda: WITH_CUDA=OFF by default (need to enable it explicitly)
This commit is contained in:
@@ -42,6 +42,12 @@ endif(WITH_IPP_A)
|
||||
# --- CUDA ---
|
||||
if(WITH_CUDA)
|
||||
include("${OpenCV_SOURCE_DIR}/cmake/OpenCVDetectCUDA.cmake")
|
||||
if(NOT HAVE_CUDA)
|
||||
message(WARNING "OpenCV is not able to find/confidure CUDA SDK (required by WITH_CUDA).
|
||||
CUDA support will be disabled in OpenCV build.
|
||||
To eliminate this warning remove WITH_CUDA=ON CMake configuration option.
|
||||
")
|
||||
endif()
|
||||
endif(WITH_CUDA)
|
||||
|
||||
# --- Eigen ---
|
||||
|
||||
Reference in New Issue
Block a user