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

It simplifies .pc-file generation in user's CMake configs.
master
Kolan Sh 7 years ago
parent e152fb65a8
commit 029b15da25
  1. 2
      ValaLibCommonRules.cmake

@ -23,7 +23,7 @@ SET_TARGET_PROPERTIES (${LibName} PROPERTIES VERSION ${MAJOR}.${MINOR}.${PATCH})
SET_TARGET_PROPERTIES (${LibName} PROPERTIES SOVERSION ${MAJOR})
IF (WIN32)
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)
IF (LibInstall)

Loading…
Cancel
Save