BlockchainDB unit tests, lmdb linker flag
Some BlockchainDB unit testing fleshed out (and working), rudimentary linker flag for lmdb in CMakeLists, but should probably be done "correctly" at some point (find it on whatever system you're building on and all that jazz). update for rebase (warptangent 2015-01-04) fix conflicts with upstream CMakeLists.txt files tests/CMakeLists.txt (remove edits from original commit)
This commit is contained in:
committed by
warptangent
parent
b98b96489f
commit
1240cf805b
@@ -138,6 +138,9 @@ 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")
|
||||
|
||||
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__")
|
||||
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Dinline=__inline")
|
||||
|
||||
Reference in New Issue
Block a user