diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78e5733..4b1ba6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,10 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | |||
3 | set(CMAKE_C_STANDARD 23) | ||
4 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
5 | set(CMAKE_C_EXTENSIONS Off) | ||
6 | |||
7 | include(cmake/shader.txt) | ||
8 | 2 | ||
9 | add_subdirectory(contrib/cgltf) | 3 | add_subdirectory(contrib/cgltf) |
10 | add_subdirectory(contrib/cgltf-tangents) | 4 | add_subdirectory(contrib/cgltf-tangents) |
@@ -14,6 +8,12 @@ add_subdirectory(app) | |||
14 | 8 | ||
15 | project(gfx) | 9 | project(gfx) |
16 | 10 | ||
11 | include(cmake/shader.txt) | ||
12 | |||
13 | set(CMAKE_C_STANDARD 23) | ||
14 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
15 | set(CMAKE_C_EXTENSIONS Off) | ||
16 | |||
17 | add_shader_library(shaders | 17 | add_shader_library(shaders |
18 | shaders/brdf_integration_map.frag | 18 | shaders/brdf_integration_map.frag |
19 | shaders/cook_torrance.frag | 19 | shaders/cook_torrance.frag |