Skip to content

Commit

Permalink
fix bug 4269
Browse files Browse the repository at this point in the history
  • Loading branch information
antran89 committed Mar 29, 2015
1 parent 83d6d70 commit ebd7d08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/OpenCVDetectCUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ if(CUDA_FOUND)
else()
if(${CUDA_VERSION} VERSION_LESS "5.0")
set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0")
elseif(${CUDA_VERSION} VERSION_GREATER "6.5")
set(__cuda_arch_bin "2.0 2.1(2.0) 3.0 3.5")
else()
set(__cuda_arch_bin "1.1 1.2 1.3 2.0 2.1(2.0) 3.0 3.5")
endif()
Expand Down

0 comments on commit ebd7d08

Please sign in to comment.