From 75756b33f3423c17d71405b8c0f34b7b9e14381c Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 31 Jul 2024 10:30:50 +0100 Subject: [PATCH] CMake - set `SOVERSION` to `${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION}` --- src/CMakeLists.txt | 2 +- src/json/CMakeLists.txt | 2 +- src/wkt/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2f344fd9c..45ef67274 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt index 4f64355fd..fd19b38e2 100644 --- a/src/json/CMakeLists.txt +++ b/src/json/CMakeLists.txt @@ -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) diff --git a/src/wkt/CMakeLists.txt b/src/wkt/CMakeLists.txt index 7507fd519..fd719a710 100644 --- a/src/wkt/CMakeLists.txt +++ b/src/wkt/CMakeLists.txt @@ -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)