From 1e1984a586028ab233d26f0a4a5668653fc410ba Mon Sep 17 00:00:00 2001 From: Xerxes Battiwalla Date: Mon, 26 Jul 2021 14:54:27 +1000 Subject: [PATCH] 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 --- cmake/OpenCVDetectCUDA.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVDetectCUDA.cmake b/cmake/OpenCVDetectCUDA.cmake index c7cfebe50f..ac29e600d3 100644 --- a/cmake/OpenCVDetectCUDA.cmake +++ b/cmake/OpenCVDetectCUDA.cmake @@ -102,7 +102,7 @@ if(CUDA_FOUND) if(CUDA_GENERATION) if(NOT ";${_generations};" MATCHES ";${CUDA_GENERATION};") string(REPLACE ";" ", " _generations "${_generations}") - message(FATAL_ERROR "ERROR: ${_generations} Generations are suppered.") + message(FATAL_ERROR "ERROR: ${_generations} Generations are supported.") endif() unset(CUDA_ARCH_BIN CACHE) unset(CUDA_ARCH_PTX CACHE)