--- a/CMakeLists.txt 2014-01-02 12:17:23.000000000 +0100 +++ b/CMakeLists.txt 2014-01-02 14:57:03.524727998 +0100 @@ -19,6 +19,7 @@ set (MapServer_VERSION_MINOR 4) set (MapServer_VERSION_REVISION 1) set (MapServer_VERSION_SUFFIX "") +set (MapServer_SOVERSION 1) set(TARGET_VERSION_MAJOR ${MapServer_VERSION_MAJOR}) set(TARGET_VERSION_MINOR ${MapServer_VERSION_MINOR}) @@ -233,13 +234,13 @@ add_library(mapserver SHARED ${mapserver_SOURCES} ${agg_SOURCES}) set_target_properties( mapserver PROPERTIES VERSION ${MapServer_VERSION_STRING} - SOVERSION 1 + SOVERSION ${MapServer_SOVERSION} ) if(BUILD_STATIC) add_library(mapserver_static STATIC ${mapserver_SOURCES} ${agg_SOURCES}) set_target_properties( mapserver_static PROPERTIES VERSION ${MapServer_VERSION_STRING} - SOVERSION 1 + SOVERSION ${MapServer_SOVERSION} ) endif(BUILD_STATIC)