1
0
forked from blue/squawk

add liblmdb.so as possible lmdb lib name

This commit is contained in:
shunf4 2021-10-05 16:09:31 +08:00
parent c55b7c6baf
commit faa7d396a5

View File

@ -13,7 +13,7 @@ find_path(LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "${LMDB_DIR}/include")
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)
# Linux # 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) set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
else (UNIX AND NOT APPLE) else (UNIX AND NOT APPLE)