CMake: include RPC when building GUI deps

release-v0.4.0.1
anonimal 7 years ago
parent 74b699beda
commit a3ea62f209

@ -88,7 +88,6 @@ target_link_libraries(wallet
PRIVATE PRIVATE
${EXTRA_LIBRARIES}) ${EXTRA_LIBRARIES})
if (NOT BUILD_GUI_DEPS)
set(wallet_rpc_sources set(wallet_rpc_sources
wallet_rpc_server.cpp) wallet_rpc_server.cpp)
@ -108,7 +107,6 @@ if (NOT BUILD_GUI_DEPS)
PRIVATE PRIVATE
wallet wallet
epee epee
${EPEE_READLINE}
rpc rpc
cryptonote_core cryptonote_core
cncrypto cncrypto
@ -124,7 +122,6 @@ if (NOT BUILD_GUI_DEPS)
PROPERTY PROPERTY
OUTPUT_NAME "monero-wallet-rpc") OUTPUT_NAME "monero-wallet-rpc")
install(TARGETS wallet_rpc_server DESTINATION bin) install(TARGETS wallet_rpc_server DESTINATION bin)
endif()
# build and install libwallet_merged only if we building for GUI # build and install libwallet_merged only if we building for GUI

Loading…
Cancel
Save