apple exclusion

This commit is contained in:
Emanuele Ruffaldi 2017-08-22 23:32:01 +02:00
parent 3b38eeaccf
commit 301ab43897

View File

@ -1,3 +1,7 @@
if(APPLE)
return()
endif()
if(UNIX)
find_package(X11 QUIET)
if(NOT X11_FOUND)
@ -8,6 +12,8 @@ if(UNIX)
set(SAMPLE_LINKER_DEPS "${X11_LIBRARIES}")
endif()
SET(OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
ocv_check_dependencies(${OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS})