Commit 0ccc8393 authored by Alexander Smorkalov's avatar Alexander Smorkalov
Browse files

Restored compatibility with CMake older than 3.7.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -31,7 +31,7 @@ endif()
if(CUDA_FOUND)
set(HAVE_CUDA 1)
if(CUDA_VERSION VERSION_GREATER_EQUAL "11.0")
if(NOT CUDA_VERSION VERSION_LESS 11.0)
# CUDA 11.0 removes nppicom
ocv_list_filterout(CUDA_nppi_LIBRARY "nppicom")
ocv_list_filterout(CUDA_npp_LIBRARY "nppicom")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment