summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-02-08 09:49:04 +0000
committer0scar <qgt268@alumni.ku.dk>2024-02-08 09:53:27 +0000
commit917ce12d07fdcef9735fc0f817420ec5a1011722 (patch)
tree95489aaaccaa7e1834d46e6e340c517bfcb83799 /src/resources
parent7d55c1384356fa02567589ccc44e6ef1a114a63e (diff)
Assume assimp is precompiled and installed on-system
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
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
+ )