Disabled the cuda variant when CUDA is not available.

This commit is contained in:
Roman Donchenko
2013-06-19 19:16:18 +04:00
parent 7a104d2793
commit 51a672ec40
3 changed files with 15 additions and 3 deletions

View File

@@ -44,4 +44,8 @@
using namespace perf;
CV_PERF_TEST_MAIN_WITH_IMPLS(gpu, ("cuda", "plain"), printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(gpu, (
#ifdef HAVE_CUDA
"cuda",
#endif
"plain"), printCudaInfo())