mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 15:19:00 +08:00
9 lines
295 B
CMake
9 lines
295 B
CMake
|
if(UNIX)
|
||
|
_find_package(OpenGL COMPONENTS EGL)
|
||
|
if(OPENGL_egl_LIBRARY) # Only defined for Linux with GLVND
|
||
|
set(EGL_LIBRARY "${OPENGL_egl_LIBRARY}" CACHE STRING "")
|
||
|
set(EGL_INCLUDE_DIR "${OPENGL_EGL_INCLUDE_DIRS}" CACHE STRING "")
|
||
|
endif()
|
||
|
endif()
|
||
|
_find_package(${ARGS})
|