Merge pull request #1556 from jet47:fix-bug-3296

This commit is contained in:
Roman Donchenko 2013-10-21 16:27:59 +04:00 committed by OpenCV Buildbot
commit bfd8acbbc3

View File

@ -110,6 +110,7 @@ if(CUDA_FOUND)
message(STATUS "Automatic detection of CUDA generation failed. Going to build for all known architectures.") message(STATUS "Automatic detection of CUDA generation failed. Going to build for all known architectures.")
else() else()
set(__cuda_arch_bin "${_nvcc_out}") set(__cuda_arch_bin "${_nvcc_out}")
string(REPLACE "2.1" "2.1(2.0)" __cuda_arch_bin "${__cuda_arch_bin}")
endif() endif()
endif() endif()