From 9053dfea05d149a54ae291327ebb12f2372ffc38 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Wed, 2 Sep 2020 16:28:12 +0200 Subject: [PATCH] add missing define to glTF importer --- code/AssetLib/glTF/glTFCommon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/AssetLib/glTF/glTFCommon.cpp b/code/AssetLib/glTF/glTFCommon.cpp index 2c46a46e3..6bea18a0a 100644 --- a/code/AssetLib/glTF/glTFCommon.cpp +++ b/code/AssetLib/glTF/glTFCommon.cpp @@ -38,6 +38,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------- */ +#ifndef ASSIMP_BUILD_NO_GLTF_IMPORTER + #include "AssetLib/glTF/glTFCommon.h" namespace glTFCommon { @@ -187,3 +189,5 @@ bool ParseDataURI(const char *const_uri, size_t uriLen, DataURI &out) { } // namespace Util } // namespace glTFCommon + +#endif