parent
44d51f2844
commit
2af1715fbf
@ -1,12 +1,12 @@ |
|||||||
# Find GLESv1 |
# Find GLESv1 |
||||||
# |
# |
||||||
# GLESv1_LIBRARY |
# GLESv1_LIBRARY |
||||||
# GLESv1_FOUND |
# GLES_V1_FOUND |
||||||
|
|
||||||
set(GLESv1_NAMES ${GLESv1_NAMES} GLESv1_CM libGLES_CM) |
set(GLESv1_NAMES ${GLESv1_NAMES} GLES_CM GLESv1_CM libGLES_CM) |
||||||
find_library (GLESv1_LIBRARY NAMES ${GLESv1_NAMES} PATHS /opt/vc/lib) |
find_library (GLESv1_LIBRARY NAMES ${GLESv1_NAMES} PATHS /opt/vc/lib) |
||||||
|
|
||||||
include(FindPackageHandleStandardArgs) |
include(FindPackageHandleStandardArgs) |
||||||
find_package_handle_standard_args (GLESv1 DEFAULT_MSG GLESv1_LIBRARY) |
find_package_handle_standard_args (GLES_V1 DEFAULT_MSG GLESv1_LIBRARY) |
||||||
|
|
||||||
mark_as_advanced (GLESv1_LIBRARY) |
mark_as_advanced (GLESv1_LIBRARY) |
||||||
|
@ -1,12 +1,12 @@ |
|||||||
# Find GLESv2 |
# Find GLESv2 |
||||||
# |
# |
||||||
# GLESv2_LIBRARY |
# GLESv2_LIBRARY |
||||||
# GLESv2_FOUND |
# GLES_V2_FOUND |
||||||
|
|
||||||
set (GLESv2_NAMES ${GLESv2_NAMES} GLESv2 libGLESv2) |
set (GLESv2_NAMES ${GLESv2_NAMES} GLESv2 libGLESv2) |
||||||
find_library (GLESv2_LIBRARY NAMES ${GLESv2_NAMES} PATHS /opt/vc/lib) |
find_library (GLESv2_LIBRARY NAMES ${GLESv2_NAMES} PATHS /opt/vc/lib) |
||||||
|
|
||||||
include (FindPackageHandleStandardArgs) |
include (FindPackageHandleStandardArgs) |
||||||
find_package_handle_standard_args (GLESv2 DEFAULT_MSG GLESv2_LIBRARY) |
find_package_handle_standard_args (GLES_V2 DEFAULT_MSG GLESv2_LIBRARY) |
||||||
|
|
||||||
mark_as_advanced (GLESv2_LIBRARY) |
mark_as_advanced (GLESv2_LIBRARY) |
||||||
|
Loading…
Reference in new issue