message: apple exclusion
diff: +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})
  