blob: f4c15a9c4f266b00a7c1772507ea829c76a3a2b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- CMakeLists.txt.orig 2019-03-29 21:37:39 UTC
+++ CMakeLists.txt
@@ -228,6 +228,11 @@ if (NOT HAVE_CXX17_HAS_INCLUDE)
endif(NOT HAVE_CXX17_HAS_INCLUDE)
if(BUILD_SHARED_LIBS)
+ set_target_properties(leveldb
+ PROPERTIES
+ VERSION %%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
+ SOVERSION %%SHLIB_MAJOR%%
+ )
target_compile_definitions(leveldb
PUBLIC
# Used by include/export.h.
|