build: add liblmdb to the cmake autodetection system
update for rebase (warptangent 2015-01-04) src/cryptonote_core/CMakeLists.txt (edit) - replace LMDB_LIBRARIES with LMDB_LIBRARY set from autodetection
This commit is contained in:
committed by
warptangent
parent
215e63b79f
commit
0886183568
@@ -138,8 +138,8 @@ link_directories(${UNBOUND_LIBRARY_DIRS})
|
||||
# Final setup for rapidjson
|
||||
include_directories(external/rapidjson)
|
||||
|
||||
# TODO: make this find lmdb similarly to how unbound and boost are handled
|
||||
set(LMDB_LIBRARIES "-llmdb")
|
||||
find_package(LMDB REQUIRED)
|
||||
include_directories(${LMDB_INCLUDE})
|
||||
|
||||
if(MSVC)
|
||||
add_definitions("/bigobj /MP /W3 /GS- /D_CRT_SECURE_NO_WARNINGS /wd4996 /wd4345 /D_WIN32_WINNT=0x0600 /DWIN32_LEAN_AND_MEAN /DGTEST_HAS_TR1_TUPLE=0 /FIinline_c.h /D__SSE4_1__")
|
||||
|
||||
Reference in New Issue
Block a user