Merge pull request #1665 from SpecLad:cuda-min-ver

pull/1660/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit e384a7bb95
  1. 2
      cmake/OpenCVDetectCUDA.cmake
  2. 1
      cmake/OpenCVMinDepVersions.cmake

@ -8,7 +8,7 @@ if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "Cl
return() return()
endif() endif()
find_package(CUDA 4.2 QUIET) find_package(CUDA "${MIN_VER_CUDA}" QUIET)
if(CUDA_FOUND) if(CUDA_FOUND)
set(HAVE_CUDA 1) set(HAVE_CUDA 1)

@ -1,3 +1,4 @@
set(MIN_VER_CMAKE 2.8.7) set(MIN_VER_CMAKE 2.8.7)
set(MIN_VER_CUDA 4.2)
set(MIN_VER_PYTHON 2.6) set(MIN_VER_PYTHON 2.6)
set(MIN_VER_ZLIB 1.2.3) set(MIN_VER_ZLIB 1.2.3)

Loading…
Cancel
Save