cmake/sdlchecks.cmake
changeset 13582 85c4a2f0464d
parent 12974 0fef4b21fa1d
child 13648 1631ba283bc4
     1.1 --- a/cmake/sdlchecks.cmake	Mon Mar 02 15:21:07 2020 -0800
     1.2 +++ b/cmake/sdlchecks.cmake	Mon Mar 02 15:24:10 2020 -0800
     1.3 @@ -757,8 +757,10 @@
     1.4  endmacro()
     1.5  
     1.6  # Requires:
     1.7 -# - nada
     1.8 +# - PkgCheckModules
     1.9  macro(CheckOpenGLESX11)
    1.10 +  pkg_check_modules(EGL egl)
    1.11 +  set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${EGL_CFLAGS}")
    1.12    if(VIDEO_OPENGLES)
    1.13      check_c_source_compiles("
    1.14          #define EGL_API_FB