<commit_before># - Find OpenGLES
# Find the native OpenGLES includes and libraries
#
#  OPENGLES_INCLUDE_DIR - where to find GLES/gl.h, etc.
#  OPENGLES_LIBRARIES   - List of libraries when using OpenGLES.
#  OPENGLES_FOUND       - True if OpenGLES found.

# Downloaded from
# https://sourceforge.net/p/alleg/allegro/ci/5.1/tree/cmake/FindOpenGLES.cmake

if(OPENGLES_INCLUDE_DIR)
    # Already in cache, be silent
    set(OPENGLES_FIND_QUIETLY TRUE)
endif(OPENGLES_INCLUDE_DIR)

find_path(OPENGLES_INCLUDE_DIR GLES/gl.h)

find_library(OPENGLES_gl_LIBRARY NAMES GLESv1_CM)

# Handle the QUIETLY and REQUIRED arguments and set OPENGLES_FOUND
# to TRUE if all listed variables are TRUE.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OPENGLES DEFAULT_MSG
    OPENGLES_INCLUDE_DIR OPENGLES_gl_LIBRARY)

set(OPENGLES_LIBRARIES ${OPENGLES_gl_LIBRARY})

mark_as_advanced(OPENGLES_INCLUDE_DIR)
mark_as_advanced(OPENGLES_gl_LIBRARY)
<commit_msg>Modified FindOpenGLES.cmake to link with v2 rather than v1 of the library.<commit_after># - Find OpenGLES
# Find the native OpenGLES includes and libraries
#
#  OPENGLES_INCLUDE_DIR - where to find GLES/gl.h, etc.
#  OPENGLES_LIBRARIES   - List of libraries when using OpenGLES.
#  OPENGLES_FOUND       - True if OpenGLES found.

# Downloaded from
# https://sourceforge.net/p/alleg/allegro/ci/5.1/tree/cmake/FindOpenGLES.cmake
# Modified to use the v2 library rather than the v1 library.

if(OPENGLES_INCLUDE_DIR)
    # Already in cache, be silent
    set(OPENGLES_FIND_QUIETLY TRUE)
endif(OPENGLES_INCLUDE_DIR)

find_path(OPENGLES_INCLUDE_DIR GLES/gl.h)

find_library(OPENGLES_gl_LIBRARY NAMES GLESv2)

# Handle the QUIETLY and REQUIRED arguments and set OPENGLES_FOUND
# to TRUE if all listed variables are TRUE.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OPENGLES DEFAULT_MSG
    OPENGLES_INCLUDE_DIR OPENGLES_gl_LIBRARY)

set(OPENGLES_LIBRARIES ${OPENGLES_gl_LIBRARY})

mark_as_advanced(OPENGLES_INCLUDE_DIR)
mark_as_advanced(OPENGLES_gl_LIBRARY)

{'fraction_non_alphanumeric': 0.06558981889378365, 'fraction_numerical': 0.004894762604013705, 'mean_word_length': 5.657980456026059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4192900', 'n_tokens_mistral': 803, 'n_tokens_neox': 737, 'n_words': 164}