1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 07 Aug 2024 15:30:29 +0200
Description: Provide SONAME to make sure dh_makeshlibs will work properly
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,6 +46,12 @@ set_target_properties(libsfst PROPERTIES
# Have the output name libsfst.so
set_target_properties(libsfst PROPERTIES OUTPUT_NAME "sfst")
+project(sfst VERSION 1.5.8)
+set_target_properties(libsfst PROPERTIES
+ VERSION ${PROJECT_VERSION}
+ SOVERSION 1
+)
+
# Have a static library
add_library(libsfststatic STATIC ${LIB_SOURCES})
set_target_properties(libsfststatic PROPERTIES POSITION_INDEPENDENT_CODE ON)
|