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)