looking-glass/client/renderers/OpenGL/CMakeLists.txt

26 lines
424 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.0)
project(renderer_Opengl LANGUAGES C)
2019-03-28 00:02:36 +00:00
find_package(PkgConfig)
pkg_check_modules(RENDERER_OPENGL_PKGCONFIG REQUIRED
gl
glu
)
add_library(renderer_OpenGL STATIC
2019-03-28 00:02:36 +00:00
opengl.c
)
target_link_libraries(renderer_OpenGL
2019-03-28 00:02:36 +00:00
${RENDERER_OPENGL_PKGCONFIG_LIBRARIES}
lg_common
2019-03-28 01:42:41 +00:00
decoders
fonts
2019-03-28 00:02:36 +00:00
)
target_include_directories(renderer_OpenGL
2019-03-28 00:02:36 +00:00
PRIVATE
src
${RENDERER_OPENGL_PKGCONFIG_INCLUDE_DIRS}
)