From faa7d396a5665e385470f15ebc7841bcabb03f11 Mon Sep 17 00:00:00 2001 From: shunf4 Date: Tue, 5 Oct 2021 16:09:31 +0800 Subject: [PATCH] add liblmdb.so as possible lmdb lib name --- core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 0377620..306b4f5 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -13,7 +13,7 @@ find_path(LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "${LMDB_DIR}/include") if (UNIX AND NOT APPLE) # Linux - find_library(LMDB_LIBRARIES NAMES liblmdb.a PATHS ${LMDB_DIR}) + find_library(sudo rLMDB_LIBRARIES NAMES liblmdb.a liblmdb.so PATHS ${LMDB_DIR}) set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) else (UNIX AND NOT APPLE)