added check for CMake 2.8.3 for CUDA support
This commit is contained in:
parent
bae8a88c53
commit
1313d8a570
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user