Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them)

This commit is contained in:
Andrey Pavlenko
2014-06-16 11:18:52 +04:00
parent 45f21e4f12
commit 724f5e7f19
11 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
if(IOS)
if(IOS OR (NOT HAVE_CUDA AND NOT BUILD_CUDA_STUBS))
ocv_module_disable(cudaarithm)
endif()