Select Git revision
FindMir.cmake
-
Brandon Schaefer authored
Clean up CMake finding and check version. Change last remaining deprecations. Closes #979.
Brandon Schaefer authoredClean up CMake finding and check version. Change last remaining deprecations. Closes #979.
FindEGL.cmake 397 B
# Find EGL
#
# EGL_INCLUDE_DIR
# EGL_LIBRARY
# EGL_FOUND
find_path(EGL_INCLUDE_DIR NAMES EGL/egl.h PATHS /opt/vc/include)
set(EGL_NAMES ${EGL_NAMES} egl EGL libEGL)
find_library(EGL_LIBRARY NAMES ${EGL_NAMES} PATHS /opt/vc/lib)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
mark_as_advanced(EGL_INCLUDE_DIR EGL_LIBRARY)