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:
parent
e152fb65a8
commit
029b15da25
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue