aboutsummaryrefslogtreecommitdiffstats
path: root/community/leveldb/fix-cmakelist-soname.patch
blob: 523114534b9ce82d885db0aa16644c9aedb42117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Already fixed in master so can be removed with next release (1.21+)
-------------
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -213,6 +213,10 @@
     $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
     $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
 )
+
+set_target_properties(leveldb
+  PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
+
 target_compile_definitions(leveldb
   PRIVATE
     # Used by include/export.h when building shared libraries.