Made the OpenGL ES implementation available on ARM-based Linux OSes
This commit is contained in:
parent
565bc69a4e
commit
45f23cdbbb
12 changed files with 143 additions and 43 deletions
14
cmake/Modules/FindEGL.cmake
Normal file
14
cmake/Modules/FindEGL.cmake
Normal file
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# 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)
|
14
cmake/Modules/FindGLES.cmake
Normal file
14
cmake/Modules/FindGLES.cmake
Normal file
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Try to find GLES library and include path.
|
||||
# Once done this will define
|
||||
#
|
||||
# GLES_FOUND
|
||||
# GLES_INCLUDE_PATH
|
||||
# GLES_LIBRARY
|
||||
#
|
||||
|
||||
find_path(GLES_INCLUDE_DIR GLES/gl.h)
|
||||
find_library(GLES_LIBRARY NAMES GLESv1_CM)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(GLES DEFAULT_MSG GLES_LIBRARY GLES_INCLUDE_DIR)
|
Loading…
Add table
Add a link
Reference in a new issue