Add a http performance test script based on wrk
[iec.git] / src / type3_AndroidCloud / anbox-master / cmake / FindGLESv2.cmake
1 # - Try to find GLESv2
2 # Once done this will define
3 #  GLESv2_FOUND - System has GLESv2
4 #  GLESv2_INCLUDE_DIRS - The GLESv2 include directories
5 #  GLESv2_LIBRARIES - The libraries needed to use GLESv2
6
7 find_package(PkgConfig)
8 pkg_check_modules(PC_GLESv2 QUIET glesv2)
9
10 find_path(GLESv2_INCLUDE_DIR GLES2/gl2.h
11           HINTS ${PC_GLESv2_INCLUDEDIR} ${PC_GLESv2_INCLUDE_DIRS})
12
13 find_library(GLESv2_LIBRARY GLESv2
14              HINTS ${PC_GLESv2_LIBDIR} ${PC_GLESv2_LIBRARY_DIRS})
15
16 set(GLESv2_LIBRARIES ${GLESv2_LIBRARY})
17 set(GLESv2_INCLUDE_DIRS ${GLESv2_INCLUDE_DIR})
18
19 include(FindPackageHandleStandardArgs)
20 # handle the QUIETLY and REQUIRED arguments and set GLESv2_FOUND to TRUE
21 # if all listed variables are TRUE
22 find_package_handle_standard_args(GLESv2  DEFAULT_MSG
23                                   GLESv2_LIBRARY GLESv2_INCLUDE_DIR)
24
25 mark_as_advanced(GLESv2_INCLUDE_DIR GLESv2_LIBRARY)