Skip to content

Commit ae1a249

Browse files
committed
Merge pull request opencv#18557 from alalek:cuda_cmake_fix_auto
2 parents 8a1caa0 + 171fbf8 commit ae1a249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVDetectCUDA.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ if(CUDA_FOUND)
198198

199199
if(${status} EQUAL 0)
200200
# cache detected values
201-
set(OPENCV_CACHE_CUDA_ACTIVE_CC ${${result_list}} CACHE INTERNAL "")
201+
set(OPENCV_CACHE_CUDA_ACTIVE_CC ${${output}} CACHE INTERNAL "")
202202
set(OPENCV_CACHE_CUDA_ACTIVE_CC_check "${__cache_key_check}" CACHE INTERNAL "")
203203
endif()
204204
endif()

0 commit comments

Comments
 (0)