Assimp: Can't remove formats from build

Created on 25 Jan 2018  路  3Comments  路  Source: assimp/assimp

When Im writingset(ASSIMP_BUILD_FBX_IMPORTER OFF) before including assimp as subdirectory, it works only with second cmake config time
what I mean is when Im launching cmake first time I have this

-- Enabled formats: AMF 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD
-- Disabled formats:

When Im configuring again with same comand second time, I have this

Enabled formats: OBJ GLTF
-- Disabled formats: AMF 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D 3MF MMD

Also this is not worksset(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT OFF)

Bug

Most helpful comment

Thanks for the report. I guess some bug in the cmake-macro.

All 3 comments

Thanks for the report. I guess some bug in the cmake-macro.

1943 shall fix enabling/disabling importers

SHall be fixed now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

junjiaokou picture junjiaokou  路  4Comments

ctreffs picture ctreffs  路  6Comments

dangelog picture dangelog  路  7Comments

boguscoder picture boguscoder  路  5Comments

nsporillo picture nsporillo  路  7Comments