LookingGlass/client/renderers/egl/CMakeLists.txt

33 lines
470 B
CMake
Raw Normal View History

2019-03-28 00:02:36 +00:00
cmake_minimum_required(VERSION 3.6)
project(renderer_egl LANGUAGES C)
find_package(PkgConfig)
pkg_check_modules(RENDERER_EGL_PKGCONFIG REQUIRED
egl
wayland-egl
2019-03-28 01:31:28 +00:00
gl
2019-03-28 00:02:36 +00:00
)
add_library(renderer_egl STATIC
egl.c
shader.c
texture.c
model.c
desktop.c
cursor.c
fps.c
draw.c
splash.c
alert.c
)
target_link_libraries(renderer_egl
${RENDERER_EGL_PKGCONFIG_LIBRARIES}
)
target_include_directories(renderer_egl
PRIVATE
src
${RENDERER_EGL_PKGCONFIG_INCLUDE_DIRS}
)