diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-03-10 12:51:23 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-10 12:51:23 -0400 |
commit | 8b82f3c57ffdc4dc190f4755c61d74d8359c8c0f (patch) | |
tree | 5f200e025132576acb7288da2438165aaaf592d2 /external | |
parent | Moved db_drivers/ into external/ for consistency (diff) | |
download | monero-8b82f3c57ffdc4dc190f4755c61d74d8359c8c0f.tar.xz |
Build fixed, goofed up some CMake
Forgot that CMake vars set to PARENT_SCOPE will still vanish if that
parent scope goes...out of scope. LMDB vars elevated one more scope to
compensate for moving db_drivers/ into external/
Diffstat (limited to 'external')
-rw-r--r-- | external/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 245758d9f..f0d363e35 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -99,3 +99,7 @@ else() endif() add_subdirectory(db_drivers) +set(LMDB_STATIC ${LMDB_STATIC} PARENT_SCOPE) +set(LMDB_INCLUDE ${LMDB_INCLUDE} PARENT_SCOPE) +set(LMDB_LIBRARY ${LMDB_LIBRARY} PARENT_SCOPE) +set(LMDB_LIBRARY_DIRS ${LMDB_LIBRARY_DIRS} PARENT_SCOPE) |