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")