CMake: include RPC when building GUI deps

This commit is contained in:
anonimal 2017-11-07 23:33:07 +00:00
parent 74b699beda
commit a3ea62f209
1 changed files with 30 additions and 33 deletions

View File

@ -88,7 +88,6 @@ target_link_libraries(wallet
PRIVATE
${EXTRA_LIBRARIES})
if (NOT BUILD_GUI_DEPS)
set(wallet_rpc_sources
wallet_rpc_server.cpp)
@ -108,7 +107,6 @@ if (NOT BUILD_GUI_DEPS)
PRIVATE
wallet
epee
${EPEE_READLINE}
rpc
cryptonote_core
cncrypto
@ -124,7 +122,6 @@ if (NOT BUILD_GUI_DEPS)
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