assimp faster build

feature/softbody-runtime-control
Benjamin Kraft 4 months ago
parent 9e4333b9fb
commit 698cd5b1fe
  1. 5
      CMakeLists.txt

@ -16,6 +16,11 @@ endif ()
FetchContent_MakeAvailable(glm) FetchContent_MakeAvailable(glm)
FetchContent_MakeAvailable(vma) FetchContent_MakeAvailable(vma)
FetchContent_MakeAvailable(tetgen) 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) FetchContent_MakeAvailable(assimp)
target_compile_options(assimp PRIVATE -Wno-unknown-pragmas) target_compile_options(assimp PRIVATE -Wno-unknown-pragmas)

Loading…
Cancel
Save