Improve assimp compiletime
This commit is contained in:
parent
44dbde8148
commit
ccdf4ab3c9
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue