diff options
author | 3gg <3gg@shellblade.net> | 2024-06-15 11:43:47 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-06-15 11:43:47 -0700 |
commit | bc11af703e622dcc95ac337ad1a68db2d4cc16c0 (patch) | |
tree | ec2ad303bb5a9ef1983b3e2f6fe88aec25a8d4a5 /app/CMakeLists.txt | |
parent | 6dedc3c72f0772bee98a3e2dd01430603e8b2d58 (diff) |
Move glad initialization to gfx-app.
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r-- | app/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 7e60351..4db314d 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt | |||
@@ -1,5 +1,7 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.0) |
2 | 2 | ||
3 | add_subdirectory(contrib/glad) | ||
4 | |||
3 | project(gfx-app) | 5 | project(gfx-app) |
4 | 6 | ||
5 | add_library(gfx-app | 7 | add_library(gfx-app |
@@ -9,6 +11,7 @@ target_include_directories(gfx-app PUBLIC | |||
9 | include/) | 11 | include/) |
10 | 12 | ||
11 | target_link_libraries(gfx-app PUBLIC | 13 | target_link_libraries(gfx-app PUBLIC |
14 | glad | ||
12 | glfw | 15 | glfw |
13 | log | 16 | log |
14 | timer) | 17 | timer) |