Skip to content

Commit 301ab43

Browse files
committed
apple exclusion
1 parent 3b38eea commit 301ab43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

samples/opengl/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if(APPLE)
2+
return()
3+
endif()
4+
15
if(UNIX)
26
find_package(X11 QUIET)
37
if(NOT X11_FOUND)
@@ -8,6 +12,8 @@ if(UNIX)
812
set(SAMPLE_LINKER_DEPS "${X11_LIBRARIES}")
913
endif()
1014

15+
16+
1117
SET(OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
1218

1319
ocv_check_dependencies(${OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS})

0 commit comments

Comments
 (0)