diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-12-06 13:54:00 -0500 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:39:41 -0800 |
commit | e285ee5aec3f931e34fa490d476d8ddb16007fe6 (patch) | |
tree | 0a354c5b490b673f213f2caea583696f8a8635e8 /CMakeLists.txt | |
parent | extraneous semicolon in Blockchain::complete_timestamps_vector (diff) | |
parent | blockchain_converter: use the actual blockchain location (diff) | |
download | monero-e285ee5aec3f931e34fa490d476d8ddb16007fe6.tar.xz |
Merge pull request #13 from moneromooo-monero/blockchain
Add lmdb to the cmake gunk, and use actual user directory for the blockchain location
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 000a18df6..ee5d5f2ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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__") |