Skip to content
Snippets Groups Projects
Unverified Commit aeba7a43 authored by Kim Kulling's avatar Kim Kulling Committed by GitHub
Browse files

Merge pull request #4185 from rhabacker/win_dll_so_version

On Windows/mingw in shared build mode append '-SOVERSION' to DLL base file name
parents 9267f4c5 9ebd74bd
No related branches found
No related tags found
No related merge requests found
......@@ -1262,6 +1262,12 @@ SET_TARGET_PROPERTIES( assimp PROPERTIES
OUTPUT_NAME assimp${LIBRARY_SUFFIX}
)
if (WIN32 AND CMAKE_COMPILER_IS_GNUCXX AND BUILD_SHARED_LIBS)
set_target_properties(assimp PROPERTIES
SUFFIX "-${ASSIMP_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}"
)
endif()
if (APPLE)
if (ASSIMP_BUILD_FRAMEWORK)
SET_TARGET_PROPERTIES( assimp PROPERTIES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment