include(FetchContent) FetchContent_Declare( assimp GIT_REPOSITORY https://github.com/assimp/assimp.git GIT_TAG v5.0.1 GIT_SHALLOW TRUE ) set(ASSIMP_BUILD_TESTS OFF) set(ASSIMP_BUILD_SAMPLES OFF) set(ASSIMP_INSTALL OFF) FetchContent_MakeAvailable(assimp)