void-packages/srcpkgs/leveldb/patches/fix-cmake.patch
2019-03-31 00:06:50 -03:00

14 lines
421 B
Diff

diff --git CMakeLists.txt CMakeLists.txt
index e471a2a..0837eee 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -95,6 +95,8 @@ if(BUILD_SHARED_LIBS)
endif(BUILD_SHARED_LIBS)
add_library(leveldb "")
+set_target_properties(leveldb PROPERTIES VERSION 1.21.0)
+set_target_properties(leveldb PROPERTIES SOVERSION 1)
target_sources(leveldb
PRIVATE
"${PROJECT_BINARY_DIR}/${LEVELDB_PORT_CONFIG_DIR}/port_config.h"