diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2024-02-08 09:49:04 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2024-02-08 09:53:27 +0000 |
| commit | 917ce12d07fdcef9735fc0f817420ec5a1011722 (patch) | |
| tree | 95489aaaccaa7e1834d46e6e340c517bfcb83799 | |
| parent | 7d55c1384356fa02567589ccc44e6ef1a114a63e (diff) | |
Assume assimp is precompiled and installed on-system
| -rw-r--r-- | CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/resources/CMakeLists.txt | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 899d39d..44de303 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,12 +98,7 @@ FetchContent_Declare(cglm GIT_REPOSITORY https://github.com/recp/cglm.git GIT_TAG v0.9.2 ) -FetchContent_Declare(assimp - GIT_REPOSITORY https://github.com/assimp/assimp.git - GIT_TAG v5.3.1 -) FetchContent_MakeAvailable(cglm) -FetchContent_MakeAvailable(assimp) ## Glad set(GLAD_HEADER ${CMAKE_BINARY_DIR}/include/glad/gl.h) 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 + ) |
