liblmdb: install lmdb library for wallet2_api usage

release-v0.4.0.1
stoffu 6 years ago committed by moneromooo-monero
parent 504428ab4a
commit 2ab66ff1d4
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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")

Loading…
Cancel
Save