From 917ce12d07fdcef9735fc0f817420ec5a1011722 Mon Sep 17 00:00:00 2001 From: 0scar Date: Thu, 8 Feb 2024 10:49:04 +0100 Subject: Assume assimp is precompiled and installed on-system --- src/resources/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/resources/CMakeLists.txt') diff --git a/src/resources/CMakeLists.txt b/src/resources/CMakeLists.txt index 6a99990..7549c2f 100644 --- a/src/resources/CMakeLists.txt +++ b/src/resources/CMakeLists.txt @@ -1,3 +1,10 @@ +## Uncomment the following to fetch and build assimp. +#FetchContent_Declare(assimp +# GIT_REPOSITORY https://github.com/assimp/assimp.git +# GIT_TAG v5.3.1 +#) +#FetchContent_MakeAvailable(assimp) + add_library(daw_resources src/fonts.c src/scripts.c @@ -5,3 +12,7 @@ add_library(daw_resources ) target_include_directories(daw_resources PRIVATE ${DAW_INCLUDE_DIRS}) +target_link_libraries( + daw_resources + assimp + ) -- cgit v1.3