diff --git a/cmake/OpenCVDetectCUDA.cmake b/cmake/OpenCVDetectCUDA.cmake index 9dfbe09a71..2f92c46f07 100644 --- a/cmake/OpenCVDetectCUDA.cmake +++ b/cmake/OpenCVDetectCUDA.cmake @@ -92,6 +92,8 @@ if(CUDA_FOUND) else() if(${CUDA_VERSION} VERSION_LESS "5.0") set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0") + elseif(${CUDA_VERSION} VERSION_GREATER "6.5") + set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5") else() set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0 3.5") endif()