Merge pull request #4470 from mapnik/cmake-soversion
CMake - set `SOVERSION` to `${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}`
This commit is contained in:
commit
924123e9c7
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ set_target_properties(mapnik PROPERTIES
|
|||
IMPORT_PREFIX "lib" # for the archive on dll platforms
|
||||
VERSION ${MAPNIK_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)
|
||||
|
|
|
@ -30,7 +30,7 @@ set_target_properties(json PROPERTIES
|
|||
IMPORT_PREFIX "lib"
|
||||
VERSION ${MAPNIK_VERSION}
|
||||
# see mapnik target for explanation
|
||||
SOVERSION ${MAPNIK_VERSION}
|
||||
SOVERSION ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
|
||||
)
|
||||
|
||||
mapnik_install(json)
|
||||
|
|
|
@ -22,7 +22,7 @@ set_target_properties(wkt PROPERTIES
|
|||
IMPORT_PREFIX "lib"
|
||||
VERSION ${MAPNIK_VERSION}
|
||||
# see mapnik target for explanation
|
||||
SOVERSION ${MAPNIK_VERSION}
|
||||
SOVERSION ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
|
||||
)
|
||||
|
||||
mapnik_install(wkt)
|
||||
|
|
Loading…
Reference in a new issue