build: fix IOS, build blockchain_db and rpc, skip wallet_rpc_server

This commit is contained in:
xiphon 2019-11-09 12:44:18 +00:00
parent 06b0441762
commit 7c1d31b0a1
2 changed files with 35 additions and 36 deletions

View file

@ -113,12 +113,10 @@ add_subdirectory(lmdb)
add_subdirectory(multisig)
add_subdirectory(net)
add_subdirectory(hardforks)
if(NOT IOS)
add_subdirectory(blockchain_db)
endif()
add_subdirectory(mnemonics)
if(NOT IOS)
add_subdirectory(rpc)
if(NOT IOS)
add_subdirectory(serialization)
endif()
add_subdirectory(wallet)

View file

@ -77,6 +77,7 @@ target_link_libraries(wallet
PRIVATE
${EXTRA_LIBRARIES})
if(NOT IOS)
set(wallet_rpc_sources
wallet_rpc_server.cpp)
@ -112,7 +113,7 @@ set_property(TARGET wallet_rpc_server
PROPERTY
OUTPUT_NAME "monero-wallet-rpc")
install(TARGETS wallet_rpc_server DESTINATION bin)
endif()
# build and install libwallet_merged only if we building for GUI
if (BUILD_GUI_DEPS)