void-packages/srcpkgs/marble5/patches/soversion.diff
2021-12-13 23:39:54 +01:00

24 lines
1 KiB
Diff

--- a/src/lib/astro/CMakeLists.txt 2018-01-10 08:43:24.000000000 +0100
+++ b/src/lib/astro/CMakeLists.txt 2018-02-10 15:08:03.545093856 +0100
@@ -6,7 +6,7 @@
set(ASTRO_LIB_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(ASTRO_LIB_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(ASTRO_LIB_VERSION_PATCH ${PROJECT_VERSION_PATCH})
-set(ASTRO_LIB_SOVERSION 1)
+set(ASTRO_LIB_SOVERSION 2)
set(HEADER_PREFIX ASTRO_LIB)
configure_file("${marble_SOURCE_DIR}/cmake/templates/versionheader.h.in" "${CMAKE_CURRENT_BINARY_DIR}/astro_version.h")
include(CMakePackageConfigHelpers)
--- a/src/lib/marble/declarative/CMakeLists.txt 2018-01-10 08:43:24.000000000 +0100
+++ b/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}>)