mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 01:48:09 +00:00
[client] project restructure part 1/2
This commit is contained in:
22
client/renderers/opengl/CMakeLists.txt
Normal file
22
client/renderers/opengl/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
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}
|
||||
)
|
||||
|
||||
target_include_directories(renderer_opengl
|
||||
PRIVATE
|
||||
src
|
||||
${RENDERER_OPENGL_PKGCONFIG_INCLUDE_DIRS}
|
||||
)
|
1448
client/renderers/opengl/opengl.c
Normal file
1448
client/renderers/opengl/opengl.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user