Fixed building with OpenCL, but without the ocl module.
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 30 Oct 2013 10:02:08 +0000 (14:02 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 30 Oct 2013 10:07:34 +0000 (14:07 +0400)
commitd07e7897a031df6c7737efd4d65a96393cefb7a7
tree41afb82441456e21e6996a6b55eb0e221111dfcc
parent8a4f1bbbdf0552705508414fc928edc96b6602c3
Fixed building with OpenCL, but without the ocl module.

HAVE_opencv_ocl implies HAVE_OPENCL, so checking for both is not
necessary.
cmake/OpenCVModule.cmake
modules/superres/perf/perf_superres_ocl.cpp
samples/gpu/CMakeLists.txt