mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
apple exclusion
This commit is contained in:
parent
3b38eeaccf
commit
301ab43897
@ -1,3 +1,7 @@
|
|||||||
|
if(APPLE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
find_package(X11 QUIET)
|
find_package(X11 QUIET)
|
||||||
if(NOT X11_FOUND)
|
if(NOT X11_FOUND)
|
||||||
@ -8,6 +12,8 @@ if(UNIX)
|
|||||||
set(SAMPLE_LINKER_DEPS "${X11_LIBRARIES}")
|
set(SAMPLE_LINKER_DEPS "${X11_LIBRARIES}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SET(OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
|
SET(OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
|
||||||
|
|
||||||
ocv_check_dependencies(${OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS})
|
ocv_check_dependencies(${OPENCV_OPENGL_SAMPLES_REQUIRED_DEPS})
|
||||||
|
Loading…
Reference in New Issue
Block a user