From 301ab4389702bcdc88bcaacc64e2d2658a165b5f Mon Sep 17 00:00:00 2001 From: Emanuele Ruffaldi Date: Tue, 22 Aug 2017 23:32:01 +0200 Subject: [PATCH] apple exclusion --- samples/opengl/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/opengl/CMakeLists.txt b/samples/opengl/CMakeLists.txt index ffad0211fa..92bd029203 100644 --- a/samples/opengl/CMakeLists.txt +++ b/samples/opengl/CMakeLists.txt @@ -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})