From de903d21a8e8cf269de7e0d37ff319943757962d Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Tue, 6 Feb 2024 21:09:39 +0100 Subject: [PATCH] Set SOVERSION to 6 The SOVERSION has nothing to do with the major version, it needs to be 6 also for 5.92.x and might even become 7+ for 6.1. --- src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b72dcb5..15d29ed 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -70,7 +70,7 @@ target_include_directories(KPipeWire PRIVATE ${CMAKE_CURRENT_BINARY_DIR} INTERFACE "$") set_target_properties(KPipeWire PROPERTIES VERSION ${PROJECT_VERSION} - SOVERSION ${PROJECT_VERSION_MAJOR} + SOVERSION 6 ) ecm_generate_export_header(KPipeWire @@ -99,7 +99,7 @@ target_link_libraries(KPipeWireDmaBuf PUBLIC KPipeWire set_target_properties(KPipeWireDmaBuf PROPERTIES VERSION ${PROJECT_VERSION} - SOVERSION ${PROJECT_VERSION_MAJOR} + SOVERSION 6 ) ecm_generate_export_header(KPipeWireDmaBuf @@ -146,7 +146,7 @@ ecm_generate_headers(KPipeWireRecord_HEADERS ) set_target_properties(KPipeWireRecord PROPERTIES VERSION ${PROJECT_VERSION} - SOVERSION ${PROJECT_VERSION_MAJOR} + SOVERSION 6 ) install(FILES @@ -161,7 +161,7 @@ install(TARGETS KPipeWire KPipeWireRecord KPipeWireDmaBuf EXPORT KPipeWireTarget ecm_setup_version(PROJECT VARIABLE_PREFIX KPIPEWIRE VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kpipewire_version.h" PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KPipeWireConfigVersion.cmake" - SOVERSION ${PROJECT_VERSION_MAJOR}) + SOVERSION 6) set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KPipeWire") install(EXPORT KPipeWireTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE KPipeWireTargets.cmake NAMESPACE K::) -- 2.43.0