Warning, /multimedia/kamoso/cmake/FindOpenGLES2.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find OpenGLES2
0002 # Once done this will define
0003 #
0004 #  OPENGLES2_FOUND           - system has OpenGLES2
0005 #  OPENGLES2_INCLUDE_DIR     - the GLES2 include directory
0006 #  OPENGLES2_LIBRARY        - the GLES2 library
0007 #
0008 # Copyright (c) 2012, George Kiagiadakis <kiagiadakis.george@gmail.com>
0009 #
0010 # Redistribution and use is allowed according to the terms of the BSD license.
0011 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
0012 
0013 find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h)
0014 find_library(OPENGLES2_LIBRARY NAMES GLESv2)
0015 
0016 include(FindPackageHandleStandardArgs)
0017 find_package_handle_standard_args(OpenGLES2 DEFAULT_MSG OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY)
0018 
0019 mark_as_advanced(OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY)
0020