diff --git a/code/AssetLib/glTF2/glTF2Asset.inl b/code/AssetLib/glTF2/glTF2Asset.inl index 53b49afe6..6b8c69296 100644 --- a/code/AssetLib/glTF2/glTF2Asset.inl +++ b/code/AssetLib/glTF2/glTF2Asset.inl @@ -49,6 +49,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifdef ASSIMP_ENABLE_DRACO #include "draco/compression/decode.h" #include "draco/core/decoder_buffer.h" +#include "draco/draco_features.h" +#ifndef DRACO_MESH_COMPRESSION_SUPPORTED +#error glTF: KHR_draco_mesh_compression: draco library must have DRACO_MESH_COMPRESSION_SUPPORTED +#endif #endif using namespace Assimp;