Add compiler switgxh for using static linkage for std_image

This commit is contained in:
Kim Kulling
2022-05-31 23:24:31 +02:00
parent 05867f4752
commit b7a70ac707
3 changed files with 3 additions and 4 deletions

View File

@@ -1284,7 +1284,9 @@ ASSIMP_API void aiQuaternionInterpolate(
#if ASSIMP_NEEDS_STB_IMAGE
// Share stb_image's PNG loader with other importers/exporters instead of bringing our own copy.
# define STBI_ONLY_PNG
# define STB_IMAGE_STATIC
# ifdef ASSIMP_USE_STB_IMAGE_STATIC
# define STB_IMAGE_STATIC
# endif
# define STB_IMAGE_IMPLEMENTATION
# include "Common/StbCommon.h"
#endif