diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2024-02-11 10:11:49 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2024-02-11 10:30:37 +0000 |
| commit | 75254de1bed8b070b173b40535638a33111991cd (patch) | |
| tree | fbad85d791f72eaa5859436a7e21c6b49f3ab0ee /CMakeLists.txt | |
| parent | 917ce12d07fdcef9735fc0f817420ec5a1011722 (diff) | |
Add stb_image
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 44de303..0fc0fca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,11 @@ FetchContent_Declare(cglm GIT_REPOSITORY https://github.com/recp/cglm.git GIT_TAG v0.9.2 ) -FetchContent_MakeAvailable(cglm) +FetchContent_Declare(stb_image + GIT_REPOSITORY https://github.com/nothings/stb.git + GIT_TAG b7cf1246284b49dfe7f1288e6f739b7a3a9d966b + ) +FetchContent_MakeAvailable(cglm stb_image) ## Glad set(GLAD_HEADER ${CMAKE_BINARY_DIR}/include/glad/gl.h) |
