mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Fixed typo in error message in OpenCVDetectCUDA.cmake
There was a minor typo in the FATAL error message when the specified CUDA generation does not match any known generation
This commit is contained in:
parent
06dcc5a2c6
commit
1e1984a586
@ -102,7 +102,7 @@ if(CUDA_FOUND)
|
|||||||
if(CUDA_GENERATION)
|
if(CUDA_GENERATION)
|
||||||
if(NOT ";${_generations};" MATCHES ";${CUDA_GENERATION};")
|
if(NOT ";${_generations};" MATCHES ";${CUDA_GENERATION};")
|
||||||
string(REPLACE ";" ", " _generations "${_generations}")
|
string(REPLACE ";" ", " _generations "${_generations}")
|
||||||
message(FATAL_ERROR "ERROR: ${_generations} Generations are suppered.")
|
message(FATAL_ERROR "ERROR: ${_generations} Generations are supported.")
|
||||||
endif()
|
endif()
|
||||||
unset(CUDA_ARCH_BIN CACHE)
|
unset(CUDA_ARCH_BIN CACHE)
|
||||||
unset(CUDA_ARCH_PTX CACHE)
|
unset(CUDA_ARCH_PTX CACHE)
|
||||||
|
Loading…
Reference in New Issue
Block a user