diff --git a/CMakeLists.txt b/CMakeLists.txt index f3e66f779..65a698eca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,8 +131,8 @@ if (USE_CUDA) message(STATUS "Configured CUDA host compiler: ${CMAKE_CUDA_HOST_COMPILER}") enable_language(CUDA) - if (${CMAKE_CUDA_COMPILER_VERSION} VERSION_LESS 10.1) - message(FATAL_ERROR "CUDA version must be at least 10.1!") + if (${CMAKE_CUDA_COMPILER_VERSION} VERSION_LESS 11.0) + message(FATAL_ERROR "CUDA version must be at least 11.0!") endif() set(GEN_CODE "") format_gencode_flags("${GPU_COMPUTE_VER}" GEN_CODE)