void-packages/srcpkgs/marble5/patches/soversion.diff

25 lines
744 B
Diff

--- src/lib/astro/CMakeLists.txt 2018-01-10 08:43:24.000000000 +0100
+++ src/lib/astro/CMakeLists.txt 2018-02-10 15:08:03.545093856 +0100
@@ -6,7 +6,7 @@
)
set(ASTRO_LIB_VERSION "0.17.20")
-set(ASTRO_LIB_SOVERSION "1")
+set(ASTRO_LIB_SOVERSION "2")
ADD_DEFINITIONS(-O3)
--- src/lib/marble/declarative/CMakeLists.txt 2018-01-10 08:43:24.000000000 +0100
+++ src/lib/marble/declarative/CMakeLists.txt 2018-02-10 15:08:55.007096153 +0100
@@ -30,6 +30,10 @@
RouteRelationModel.cpp
)
+set_target_properties(marbledeclarative PROPERTIES
+ SOVERSION 2
+)
+
generate_export_header(marbledeclarative BASE_NAME marble_declarative)
target_include_directories(marbledeclarative PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)