From 63a746c6ea10fad3ab8a926caf254b078380ab6b Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Tue, 25 Mar 2014 13:16:42 +0400 Subject: [PATCH] fixing conditional compilation --- modules/nonfree/perf/perf_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nonfree/perf/perf_main.cpp b/modules/nonfree/perf/perf_main.cpp index 4959411403..9a877202f6 100644 --- a/modules/nonfree/perf/perf_main.cpp +++ b/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 }