mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
liblmdb: install lmdb library for wallet2_api usage
This commit is contained in:
parent
504428ab4a
commit
2ab66ff1d4
1 changed files with 12 additions and 0 deletions
12
external/db_drivers/liblmdb/CMakeLists.txt
vendored
12
external/db_drivers/liblmdb/CMakeLists.txt
vendored
|
@ -50,4 +50,16 @@ if(${ARCH_WIDTH} EQUAL 32)
|
||||||
target_compile_definitions(lmdb
|
target_compile_definitions(lmdb
|
||||||
PUBLIC -DMDB_VL32)
|
PUBLIC -DMDB_VL32)
|
||||||
endif()
|
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")
|
set_property(TARGET lmdb APPEND PROPERTY COMPILE_FLAGS "-fPIC")
|
||||||
|
|
Loading…
Reference in a new issue