mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
529 B
25 lines
529 B
# - Find OpenGL ES 2 |
|
# |
|
# This module defines: |
|
# |
|
# OPENGLES2_FOUND - True if OpenGL ES 2 library is found |
|
# OPENGLES2_LIBRARY - OpenGL ES 2 library |
|
# OPENGLES2_INCLUDE_DIR - Include dir |
|
# |
|
|
|
# Library |
|
find_library(OPENGLES2_LIBRARY NAMES |
|
GLESv2 |
|
ppapi_gles2) # NaCl |
|
|
|
# Include dir |
|
find_path(OPENGLES2_INCLUDE_DIR |
|
NAMES gl2.h |
|
PATH_SUFFIXES GLES2 |
|
) |
|
|
|
include(FindPackageHandleStandardArgs) |
|
find_package_handle_standard_args("OpenGLES2" DEFAULT_MSG |
|
OPENGLES2_LIBRARY |
|
OPENGLES2_INCLUDE_DIR |
|
)
|
|
|