2013-01-15 04:26:11 +01:00
|
|
|
# Find GLESv1
|
|
|
|
#
|
|
|
|
# GLESv1_INCLUDE_DIR
|
|
|
|
# GLESv1_LIBRARY
|
|
|
|
# GLESv1_FOUND
|
|
|
|
|
2014-10-12 17:58:48 +02:00
|
|
|
find_path(GLESv1_INCLUDE_DIR NAMES GLES/gl.h PATHS /opt/vc/include)
|
2013-01-15 04:26:11 +01:00
|
|
|
|
2015-07-18 12:54:59 +02:00
|
|
|
set(GLESv1_NAMES ${GLESv1_NAMES} GLESv1_CM libGLES_CM)
|
2014-10-12 17:58:48 +02:00
|
|
|
find_library(GLESv1_LIBRARY NAMES ${GLESv1_NAMES} PATHS /opt/vc/lib)
|
2013-01-15 04:26:11 +01:00
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(GLESv1 DEFAULT_MSG GLESv1_LIBRARY GLESv1_INCLUDE_DIR)
|
|
|
|
|
|
|
|
mark_as_advanced(GLESv1_INCLUDE_DIR GLESv1_LIBRARY)
|
|
|
|
|