diff options
author | stoffu <stoffu@protonmail.ch> | 2018-03-08 10:01:29 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-16 10:32:57 +0000 |
commit | 2ab66ff1d4f4df43f85e657fd93da4f8c680493d (patch) | |
tree | a48e564876aa6faf4da415ed14f5df1aa391db90 /external/db_drivers | |
parent | ringdb: use the genesis block as a db name (diff) | |
download | monero-2ab66ff1d4f4df43f85e657fd93da4f8c680493d.tar.xz |
liblmdb: install lmdb library for wallet2_api usage
Diffstat (limited to 'external/db_drivers')
-rw-r--r-- | external/db_drivers/liblmdb/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/CMakeLists.txt b/external/db_drivers/liblmdb/CMakeLists.txt index cb2501ee5..2e8822f54 100644 --- a/external/db_drivers/liblmdb/CMakeLists.txt +++ b/external/db_drivers/liblmdb/CMakeLists.txt @@ -50,4 +50,16 @@ if(${ARCH_WIDTH} EQUAL 32) target_compile_definitions(lmdb PUBLIC -DMDB_VL32) endif() + +# GUI/libwallet install target +if (BUILD_GUI_DEPS) + if(IOS) + set(lib_folder lib-${ARCH}) + else() + set(lib_folder lib) + endif() + install(TARGETS lmdb + ARCHIVE DESTINATION ${lib_folder} + LIBRARY DESTINATION ${lib_folder}) +endif() set_property(TARGET lmdb APPEND PROPERTY COMPILE_FLAGS "-fPIC") |