Merge pull request #1598 from alalek:ocl_fix_build_mac

This commit is contained in:
Andrey Pavlenko 2013-10-11 00:40:06 +04:00 committed by OpenCV Buildbot
commit dfbd5021fd

View File

@ -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)