Improve assimp compiletime

This commit is contained in:
Peder Bergebakken Sundt 2019-04-07 00:02:33 +02:00
parent 44dbde8148
commit ccdf4ab3c9
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ option (SFML_BUILD_NETWORK OFF)
add_subdirectory(lib/SFML) add_subdirectory(lib/SFML)
# assimp # assimp
set(BUILD_ASSIMP_TOOLS ON) set(BUILD_ASSIMP_TOOLS OFF)
set(ASSIMP_BUILD_ASSIMP_TOOLS OFF)
set(ASSIMP_BUILD_SAMPLES OFF)
set(ASSIMP_BUILD_TESTS OFF)
set(ASSIMP_COVERALLS OFF)
set(ASSIMP_NO_EXPORT ON)
set(ASSIMP_BUILD_STATIC_LIB ON) set(ASSIMP_BUILD_STATIC_LIB ON)
add_subdirectory(lib/assimp) add_subdirectory(lib/assimp)
link_directories("lib/assimp/build/code") link_directories("lib/assimp/build/code")