diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b66be4..937d2f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,11 +16,6 @@ endif () FetchContent_MakeAvailable(glm) FetchContent_MakeAvailable(vma) FetchContent_MakeAvailable(tetgen) - -set(ASSIMP_NO_EXPORT ON) -set(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT OFF) -set(ASSIMP_BUILD_OBJ_IMPORTER ON) -set(ASSIMP_BUILD_PLY_IMPORTER ON) FetchContent_MakeAvailable(assimp) target_compile_options(assimp PRIVATE -Wno-unknown-pragmas) diff --git a/deps.cmake b/deps.cmake index 2e973d9..df800a1 100644 --- a/deps.cmake +++ b/deps.cmake @@ -23,12 +23,20 @@ FetchContent_Declare( FIND_PACKAGE_ARGS 3.1.0) +set(ASSIMP_NO_EXPORT ON) +set(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT OFF) +set(ASSIMP_BUILD_OBJ_IMPORTER ON) +set(ASSIMP_BUILD_PLY_IMPORTER ON) +set(ASSIMP_INSTALL OFF) +set(ASSIMP_BUILD_TESTS OFF) FetchContent_Declare(assimp GIT_REPOSITORY https://github.com/assimp/assimp.git GIT_TAG v5.4.3 + GIT_PROGRESS ON ) FetchContent_Declare(tetgen GIT_REPOSITORY https://github.com/ufz/tetgen.git GIT_TAG 1.5.1 + GIT_PROGRESS ON ) \ No newline at end of file