CMake - set SOVERSION
to ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}
This commit is contained in:
parent
f1a3d6d7da
commit
75756b33f3
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
|
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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue