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.
24 lines
496 B
24 lines
496 B
|
14 years ago
|
# - 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 GLESv2)
|
||
|
|
|
||
|
|
# 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
|
||
|
|
)
|