[client] don't require wayland-egl, fixes #204

This commit is contained in:
Geoffrey McRae 2019-10-26 11:23:04 +11:00
parent 1d7a2ccf82
commit 66891aa536
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
B1-13-ge1bfb1234b+1 B1-14-g1d7a2ccf82+1

View File

@ -4,10 +4,13 @@ project(renderer_EGL LANGUAGES C)
find_package(PkgConfig) find_package(PkgConfig)
pkg_check_modules(RENDERER_EGL_PKGCONFIG REQUIRED pkg_check_modules(RENDERER_EGL_PKGCONFIG REQUIRED
egl egl
wayland-egl
gl gl
) )
pkg_check_modules(RENDERER_EGL_OPT_PKGCONFIG
wayland-egl
)
include(MakeObject) include(MakeObject)
make_object( make_object(
EGL_SHADER EGL_SHADER
@ -46,6 +49,7 @@ add_library(renderer_EGL STATIC
target_link_libraries(renderer_EGL target_link_libraries(renderer_EGL
${RENDERER_EGL_PKGCONFIG_LIBRARIES} ${RENDERER_EGL_PKGCONFIG_LIBRARIES}
${RENDERER_EGL_OPT_PKGCONFIG_LIBRARIES}
lg_common lg_common
fonts fonts
) )
@ -55,4 +59,5 @@ target_include_directories(renderer_EGL
src src
${EGL_SHADER_INCS} ${EGL_SHADER_INCS}
${RENDERER_EGL_PKGCONFIG_INCLUDE_DIRS} ${RENDERER_EGL_PKGCONFIG_INCLUDE_DIRS}
${RENDERER_EGL_OPT_PKGCONFIG_INCLUDE_DIRS}
) )