aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-17 18:55:24 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-17 18:55:24 -0400
commit6e9e8ab6205fe072355bd020690dbdc2d3259bf8 (patch)
tree767ec617b4bc893376a0ad337d31d38cdc45e796 /external/db_drivers/CMakeLists.txt
parentfixed BUILD_64 option (diff)
downloadmonero-6e9e8ab6205fe072355bd020690dbdc2d3259bf8.tar.xz
Move db_drivers/ to external/
Also change LMDB Cmake variables to CACHE rather than upgrading them through several parent scopes.
Diffstat (limited to '')
-rw-r--r--external/db_drivers/CMakeLists.txt (renamed from db_drivers/CMakeLists.txt)4
1 files changed, 2 insertions, 2 deletions
diff --git a/db_drivers/CMakeLists.txt b/external/db_drivers/CMakeLists.txt
index c96f623d1..5bc27ed1f 100644
--- a/db_drivers/CMakeLists.txt
+++ b/external/db_drivers/CMakeLists.txt
@@ -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")