From 698cd5b1fe9bc6f4e5c5c7ea49cb79d59c3c1c17 Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Sat, 5 Oct 2024 19:21:46 +0200 Subject: [PATCH] assimp faster build --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 937d2f2..7b66be4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,11 @@ 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)