Dynamic CUDA support library reimplemented as OpenCV module.

This commit is contained in:
Alexander Smorkalov
2013-12-19 16:42:11 +04:00
parent 64c94cb22c
commit 037ffcdf99
10 changed files with 41 additions and 65 deletions

View File

@@ -488,7 +488,7 @@ macro(ocv_glob_module_sources)
file(GLOB lib_cuda_srcs "src/cuda/*.cu")
set(cuda_objs "")
set(lib_cuda_hdrs "")
if(HAVE_CUDA AND lib_cuda_srcs)
if(HAVE_CUDA)
ocv_include_directories(${CUDA_INCLUDE_DIRS})
file(GLOB lib_cuda_hdrs "src/cuda/*.hpp")