Browse Source

Update Assimp.cpp

Kim Kulling 3 years ago
parent
commit
4b25eb6c4b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      code/Common/Assimp.cpp

+ 2 - 0
code/Common/Assimp.cpp

@@ -1280,7 +1280,9 @@ ASSIMP_API void aiQuaternionInterpolate(
 #   define STBI_ONLY_PNG
 #   define STBI_ONLY_PNG
 #endif
 #endif
 
 
+// Ensure all symbols are linked correctly
 #if ASSIMP_NEEDS_STB_IMAGE
 #if ASSIMP_NEEDS_STB_IMAGE
+#   define STB_IMAGE_STATIC
 #   define STB_IMAGE_IMPLEMENTATION
 #   define STB_IMAGE_IMPLEMENTATION
 #   include "Common/StbCommon.h"
 #   include "Common/StbCommon.h"
 #endif
 #endif