1
0
Fork 0
forked from blue/squawk

[Fix] Merge branch 'feat/adapt_win_osx' into upstream_messageFeed

This commit is contained in:
shunf4 2021-10-05 23:45:37 +08:00
commit 923afe2420
10 changed files with 147 additions and 18 deletions

View file

@ -25,10 +25,15 @@ find_path(LMDB_ROOT_DIR
)
find_library(LMDB_LIBRARIES
NAMES lmdb
NAMES liblmdb.a liblmdb.so liblmdb.so.a liblmdb.dll.a # We want lmdb to be static, if possible
HINTS ${LMDB_ROOT_DIR}/lib
)
add_library(lmdb UNKNOWN IMPORTED)
set_target_properties(lmdb PROPERTIES
IMPORTED_LOCATION ${LMDB_LIBRARIES}
)
find_path(LMDB_INCLUDE_DIRS
NAMES lmdb.h
HINTS ${LMDB_ROOT_DIR}/include