1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

added check for CMake 2.8.3 for CUDA support

This commit is contained in:
Anatoly Baksheev
2012-05-05 09:43:18 +00:00
parent bae8a88c53
commit 1313d8a570
+5
View File
@@ -1,3 +1,8 @@
if(${CMAKE_VERSION} VERSION_LESS "2.8.3")
message(STATUS WITH_CUDA flag requires CMake 2.8.3. CUDA support is disabled.)
return()
endif()
find_package(CUDA 4.1)
if(CUDA_FOUND)