File suscan-soversion.patch of Package suscan

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17ba331..477ddf2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,6 +312,11 @@ if(VOLK_FOUND)
   link_directories(${VOLK_LIBRARY_DIRS})
 endif()
 
+set_target_properties(suscan PROPERTIES
+  VERSION ${PROJECT_VERSION}
+  SOVERSION ${PROJECT_VERSION_MAJOR}
+)
+
 install(
   FILES ${ANALYZER_LIB_HEADERS} 
   DESTINATION include/suscan/analyzer)
openSUSE Build Service is sponsored by