Skip to content

Commit

Permalink
Move db_drivers/ to external/
Browse files Browse the repository at this point in the history
Also change LMDB Cmake variables to CACHE rather than upgrading them
through several parent scopes.
  • Loading branch information
tewinget committed Mar 17, 2015
1 parent 56a1bf5 commit 6e9e8ab
Show file tree
Hide file tree
Showing 59 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Expand Up @@ -174,9 +174,6 @@ link_directories(${UNBOUND_LIBRARY_DIRS})
# Final setup for rapidjson
include_directories(external/rapidjson)


add_subdirectory(db_drivers)

# Final setup for liblmdb
include_directories(${LMDB_INCLUDE})

Expand Down
2 changes: 2 additions & 0 deletions external/CMakeLists.txt
Expand Up @@ -97,3 +97,5 @@ else()
die("Found libunbound includes, but could not find libunbound library. Please make sure you have installed libunbound or libunbound-dev or the equivalent")
endif()
endif()

add_subdirectory(db_drivers)
Expand Up @@ -30,6 +30,6 @@
# critical a consensus component to rely on dynamically linked libraries
message(STATUS "Using ${ARCH_WIDTH}-bit LMDB from source tree")
add_subdirectory(liblmdb${ARCH_WIDTH})
set(LMDB_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/liblmdb${ARCH_WIDTH}" PARENT_SCOPE)
set(LMDB_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/liblmdb${ARCH_WIDTH}" CACHE STRING "LMDB Include path")

set(LMDB_LIBRARY "lmdb" PARENT_SCOPE)
set(LMDB_LIBRARY "lmdb" CACHE STRING "LMDB Library name")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6e9e8ab

Please sign in to comment.