mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] don't require wayland-egl, fixes #204
This commit is contained in:
parent
1d7a2ccf82
commit
66891aa536
@ -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}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user