From 75254de1bed8b070b173b40535638a33111991cd Mon Sep 17 00:00:00 2001 From: 0scar Date: Sun, 11 Feb 2024 11:11:49 +0100 Subject: Add stb_image --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.3