mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #9439 from eruffaldi:macos_build_opengl_qt5_interop2
This commit is contained in:
commit
b67c64e2c8
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user