From 407032658bd54921a22ad64beb6a47e71b3747c3 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Thu, 18 Apr 2024 12:30:18 -0500 Subject: [PATCH] Restore FetchContent for tinierglt It was lost during rebase. --- irr/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/irr/CMakeLists.txt b/irr/CMakeLists.txt index ccc00f271..84d8966f5 100644 --- a/irr/CMakeLists.txt +++ b/irr/CMakeLists.txt @@ -11,6 +11,14 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type: Debug or Release" FORCE) endif() +include(FetchContent) +FetchContent_Declare( + tiniergltf + GIT_REPOSITORY https://github.com/appgurueu/tiniergltf.git + GIT_TAG 05572e691ecf8bc3fce2da76251e73779b3577e6 +) +FetchContent_MakeAvailable(tiniergltf) + # FIXME: tests need to be moved to MT if we want to keep them list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")