fixing conditional compilation

pull/2527/head
Andrey Pavlenko 11 years ago
parent 7e03a8b279
commit 63a746c6ea
  1. 4
      modules/nonfree/perf/perf_main.cpp

@ -33,7 +33,9 @@ int main(int argc, char **argv)
::perf::TestBase::setPerformanceStrategy(::perf::PERF_STRATEGY_SIMPLE);
#if defined(HAVE_CUDA)
CV_PERF_TEST_MAIN_INTERNALS(nonfree, impls, perf::printCudaInfo());
#else if defined(HAVE_OPENCL)
#elif defined(HAVE_OPENCL)
CV_PERF_TEST_MAIN_INTERNALS(nonfree, impls, dumpOpenCLDevice());
#else
CV_PERF_TEST_MAIN_INTERNALS(ocl, impls)
#endif
}

Loading…
Cancel
Save