mirror of https://github.com/bjornbytes/lovr.git
Support less 3D model file formats;
Support OBJ, FBX, and COLLADA, as these seem to be the most common formats. This is done to reduce the size of the assimp dll. More formats can be added as needed.
This commit is contained in:
parent
4e542266a2
commit
d4a36614b0
|
@ -67,8 +67,15 @@ else()
|
|||
endif()
|
||||
|
||||
# assimp
|
||||
option(ASSIMP_BUILD_ASSIMP_TOOLS OFF)
|
||||
option(ASSIMP_BUILD_TESTS OFF)
|
||||
set(ASSIMP_BUILD_ASSIMP_TOOLS OFF CACHE BOOL "")
|
||||
set(ASSIMP_BUILD_TESTS OFF CACHE BOOL "")
|
||||
set(ASSIMP_NO_EXPORT ON OFF CACHE BOOL "")
|
||||
|
||||
set(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT OFF CACHE BOOL "")
|
||||
set(ASSIMP_BUILD_COLLADA_IMPORTER ON CACHE BOOL "")
|
||||
set(ASSIMP_BUILD_OBJ_IMPORTER ON CACHE BOOL "")
|
||||
set(ASSIMP_BUILD_FBX_IMPORTER ON CACHE BOOL "")
|
||||
|
||||
if(WIN32)
|
||||
add_subdirectory(deps/assimp assimp)
|
||||
include_directories(deps/assimp/include)
|
||||
|
|
Loading…
Reference in New Issue