diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 86914c8..fb94765 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -85,7 +85,7 @@ set_target_properties( AUTOMOC ON OUTPUT_NAME ${MLN_QT_NAME} VERSION ${MLN_QT_VERSION} - SOVERSION ${MLN_QT_VERSION_COMPATIBILITY} + SOVERSION ${PROJECT_VERSION_MAJOR} PUBLIC_HEADER "${Core_Headers}" ) diff --git a/src/location/CMakeLists.txt b/src/location/CMakeLists.txt index c93b509..7be2c24 100644 --- a/src/location/CMakeLists.txt +++ b/src/location/CMakeLists.txt @@ -32,7 +32,7 @@ set_target_properties( AUTOMOC ON OUTPUT_NAME ${MLN_QT_NAME}Location VERSION ${MLN_QT_VERSION} - SOVERSION ${MLN_QT_VERSION_COMPATIBILITY} + SOVERSION ${PROJECT_VERSION_MAJOR} ) # Qt MOC diff --git a/src/widgets/CMakeLists.txt b/src/widgets/CMakeLists.txt index 55f8522..6316baf 100644 --- a/src/widgets/CMakeLists.txt +++ b/src/widgets/CMakeLists.txt @@ -46,7 +46,7 @@ set_target_properties( AUTOMOC ON OUTPUT_NAME ${MLN_QT_NAME}Widgets VERSION ${MLN_QT_VERSION} - SOVERSION ${MLN_QT_VERSION_COMPATIBILITY} + SOVERSION ${PROJECT_VERSION_MAJOR} PUBLIC_HEADER "${Widgets_Headers}" )