Don't build monero-wallet-rpc when building the GUI
This commit is contained in:
parent
eb6d66e4fc
commit
e1dd15b050
|
@ -82,6 +82,7 @@ target_link_libraries(wallet
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
add_dependencies(wallet version)
|
add_dependencies(wallet version)
|
||||||
|
|
||||||
|
if (NOT BUILD_GUI_DEPS)
|
||||||
set(wallet_rpc_sources
|
set(wallet_rpc_sources
|
||||||
wallet_rpc_server.cpp)
|
wallet_rpc_server.cpp)
|
||||||
|
|
||||||
|
@ -115,6 +116,7 @@ set_property(TARGET wallet_rpc_server
|
||||||
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…
Reference in New Issue