mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
24 lines
406 B
CMake
24 lines
406 B
CMake
cmake_minimum_required(VERSION 3.6)
|
|
project(renderer_opengl LANGUAGES C)
|
|
|
|
find_package(PkgConfig)
|
|
pkg_check_modules(RENDERER_OPENGL_PKGCONFIG REQUIRED
|
|
gl
|
|
glu
|
|
)
|
|
|
|
add_library(renderer_opengl STATIC
|
|
opengl.c
|
|
)
|
|
|
|
target_link_libraries(renderer_opengl
|
|
${RENDERER_OPENGL_PKGCONFIG_LIBRARIES}
|
|
decoders
|
|
)
|
|
|
|
target_include_directories(renderer_opengl
|
|
PRIVATE
|
|
src
|
|
${RENDERER_OPENGL_PKGCONFIG_INCLUDE_DIRS}
|
|
)
|