Fix win32 soname to make it identical to UNIX-like systems.

It simplifies .pc-file generation in user's CMake configs.
This commit is contained in:
Kolan Sh 2015-08-30 15:05:10 +03:00
parent e152fb65a8
commit 029b15da25
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ SET_TARGET_PROPERTIES (${LibName} PROPERTIES VERSION ${MAJOR}.${MINOR}.${PATCH})
SET_TARGET_PROPERTIES (${LibName} PROPERTIES SOVERSION ${MAJOR}) SET_TARGET_PROPERTIES (${LibName} PROPERTIES SOVERSION ${MAJOR})
IF (WIN32) IF (WIN32)
SET_TARGET_PROPERTIES (${LibName} PROPERTIES PREFIX "" IMPORT_PREFIX "" SET_TARGET_PROPERTIES (${LibName} PROPERTIES PREFIX "" IMPORT_PREFIX ""
SUFFIX "-${MAJOR}.dll" IMPORT_SUFFIX "-${MAJOR}.a") SUFFIX ".so.${MAJOR}.dll" IMPORT_SUFFIX ".so.${MAJOR}.a")
ENDIF (WIN32) ENDIF (WIN32)
IF (LibInstall) IF (LibInstall)