From 0760fdcbdbe7cc3f64d095837d882a34a750dbb9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 10 Oct 2013 22:56:19 +0400 Subject: [PATCH] ocl: fix build on Mac --- modules/ocl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ocl/CMakeLists.txt b/modules/ocl/CMakeLists.txt index 0303d68e78..21e0b30858 100644 --- a/modules/ocl/CMakeLists.txt +++ b/modules/ocl/CMakeLists.txt @@ -4,5 +4,5 @@ if(NOT HAVE_OPENCL) endif() set(the_description "OpenCL-accelerated Computer Vision") -ocv_define_module(ocl opencv_core opencv_imgproc opencv_features2d opencv_objdetect opencv_video opencv_calib3d opencv_ml) +ocv_define_module(ocl opencv_core opencv_imgproc opencv_features2d opencv_objdetect opencv_video opencv_calib3d opencv_ml "${OPENCL_LIBRARIES}") ocv_warnings_disable(CMAKE_CXX_FLAGS -Wshadow)