From 485497810860ccdf78734a5471e283fee666f0f6 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 11 Nov 2021 22:15:56 +0100 Subject: [PATCH] Disable m3d for 5.1 - closes https://github.com/assimp/assimp/issues/4126 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e47b5732..e257ee64e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -527,6 +527,9 @@ ELSE() ADD_DEFINITIONS ( -D'ASSIMP_BUILD_COMPILER="${ASSIMP_BUILD_COMPILER}"' ) ENDIF() +# Disabled for 5.1 +ADD_DEFINITIONS ( -DASSIMP_BUILD_NO_M3D_IMPORTER ) + MARK_AS_ADVANCED ( ASSIMP_BUILD_ARCHITECTURE ASSIMP_BUILD_COMPILER ) SET ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER OFF CACHE BOOL