mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
15 lines
347 B
CMake
15 lines
347 B
CMake
|
#
|
||
|
# 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)
|