Enable explicitely shared linkage for shared lib in assimp

pull/5682/head
Kim Kulling 2024-07-23 10:30:00 +02:00
parent 987d858ed0
commit 5847ddcfc1
1 changed files with 3 additions and 1 deletions

View File

@ -43,9 +43,11 @@
# define P2T_COMPILER_DLLIMPORT
#endif
#ifdef ASSIMP_DLL
// We need to enable shard linkage explicitely
#ifdef ASSIMP_BUILD_DLL_EXPORT
# define P2T_SHARED_EXPORTS 1
#endif
#ifndef P2T_DLL_SYMBOL
# if defined(P2T_STATIC_EXPORTS)
# define P2T_DLL_SYMBOL