mirror of
https://github.com/assimp/assimp.git
synced 2026-01-18 17:11:20 +01:00
Only build collada test when importer/exporter is build (#6411)
See-also: https://bugs.gentoo.org/962559 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -147,8 +147,6 @@ SET( IMPORTERS
|
||||
unit/utBlendImportMaterials.cpp
|
||||
unit/utBlenderWork.cpp
|
||||
unit/utBVHImportExport.cpp
|
||||
unit/utColladaExport.cpp
|
||||
unit/utColladaImportExport.cpp
|
||||
unit/utCSMImportExport.cpp
|
||||
unit/utB3DImportExport.cpp
|
||||
#unit/utM3DImportExport.cpp
|
||||
@@ -180,6 +178,18 @@ if(ASSIMP_BUILD_USD_IMPORTER)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ASSIMP_BUILD_COLLADA_EXPORTER)
|
||||
list( APPEND IMPORTERS
|
||||
unit/utColladaExport.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ASSIMP_BUILD_COLLADA_IMPORTER)
|
||||
list( APPEND IMPORTERS
|
||||
unit/utColladaImportExport.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
SET( MATERIAL
|
||||
unit/utMaterialSystem.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user