File assimp-5.0.1-add-soversion-to-dll.patch of Package mingw32-assimp
--- a/code/CMakeLists.txt.orig 2021-08-31 21:06:44.914447226 +0000
+++ b/code/CMakeLists.txt 2021-08-31 21:08:38.373952274 +0000
@@ -1182,6 +1182,11 @@
SOVERSION ${ASSIMP_SOVERSION} # use full version
OUTPUT_NAME assimp${LIBRARY_SUFFIX}
)
+if(WIN32)
+ SET_TARGET_PROPERTIES( assimp PROPERTIES
+ SUFFIX "-${ASSIMP_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}"
+ )
+endif()
if (APPLE)
if (ASSIMP_BUILD_FRAMEWORK)