mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
15 lines
332 B
CMake
15 lines
332 B
CMake
|
#
|
||
|
# Try to find EGL library and include path.
|
||
|
# Once done this will define
|
||
|
#
|
||
|
# EGL_FOUND
|
||
|
# EGL_INCLUDE_PATH
|
||
|
# EGL_LIBRARY
|
||
|
#
|
||
|
|
||
|
find_path(EGL_INCLUDE_DIR EGL/egl.h)
|
||
|
find_library(EGL_LIBRARY NAMES EGL)
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
|