ocl: fix build on Mac

pull/1598/head
Alexander Alekhin 11 years ago
parent ad1ba56fcf
commit 0760fdcbdb
  1. 2
      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)

Loading…
Cancel
Save