Merge pull request #4470 from mapnik/cmake-soversion

CMake - set `SOVERSION` to `${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}`
This commit is contained in:
Artem Pavlenko 2024-07-31 15:34:43 +01:00 committed by GitHub
commit 924123e9c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ set_target_properties(mapnik PROPERTIES
IMPORT_PREFIX "lib" # for the archive on dll platforms IMPORT_PREFIX "lib" # for the archive on dll platforms
VERSION ${MAPNIK_VERSION} VERSION ${MAPNIK_VERSION}
# see https://github.com/mapnik/mapnik/pull/4248#issuecomment-925596509 => ABI compability only with the full version # see https://github.com/mapnik/mapnik/pull/4248#issuecomment-925596509 => ABI compability only with the full version
SOVERSION ${MAPNIK_VERSION} SOVERSION ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
) )
if(MSVC) if(MSVC)

View file

@ -30,7 +30,7 @@ set_target_properties(json PROPERTIES
IMPORT_PREFIX "lib" IMPORT_PREFIX "lib"
VERSION ${MAPNIK_VERSION} VERSION ${MAPNIK_VERSION}
# see mapnik target for explanation # see mapnik target for explanation
SOVERSION ${MAPNIK_VERSION} SOVERSION ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
) )
mapnik_install(json) mapnik_install(json)

View file

@ -22,7 +22,7 @@ set_target_properties(wkt PROPERTIES
IMPORT_PREFIX "lib" IMPORT_PREFIX "lib"
VERSION ${MAPNIK_VERSION} VERSION ${MAPNIK_VERSION}
# see mapnik target for explanation # see mapnik target for explanation
SOVERSION ${MAPNIK_VERSION} SOVERSION ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
) )
mapnik_install(wkt) mapnik_install(wkt)