mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 19:33:28 +01:00
Don't build monero-wallet-rpc when building the GUI
This commit is contained in:
parent
eb6d66e4fc
commit
e1dd15b050
@ -82,22 +82,23 @@ target_link_libraries(wallet
|
||||
${EXTRA_LIBRARIES})
|
||||
add_dependencies(wallet version)
|
||||
|
||||
set(wallet_rpc_sources
|
||||
if (NOT BUILD_GUI_DEPS)
|
||||
set(wallet_rpc_sources
|
||||
wallet_rpc_server.cpp)
|
||||
|
||||
set(wallet_rpc_headers)
|
||||
set(wallet_rpc_headers)
|
||||
|
||||
set(wallet_rpc_private_headers
|
||||
set(wallet_rpc_private_headers
|
||||
wallet_rpc_server.h)
|
||||
|
||||
monero_private_headers(wallet_rpc_server
|
||||
monero_private_headers(wallet_rpc_server
|
||||
${wallet_rpc_private_headers})
|
||||
monero_add_executable(wallet_rpc_server
|
||||
monero_add_executable(wallet_rpc_server
|
||||
${wallet_rpc_sources}
|
||||
${wallet_rpc_headers}
|
||||
${wallet_rpc_private_headers})
|
||||
|
||||
target_link_libraries(wallet_rpc_server
|
||||
target_link_libraries(wallet_rpc_server
|
||||
PRIVATE
|
||||
wallet
|
||||
rpc
|
||||
@ -110,11 +111,12 @@ target_link_libraries(wallet_rpc_server
|
||||
${Boost_THREAD_LIBRARY}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${EXTRA_LIBRARIES})
|
||||
add_dependencies(wallet_rpc_server version)
|
||||
set_property(TARGET wallet_rpc_server
|
||||
add_dependencies(wallet_rpc_server version)
|
||||
set_property(TARGET wallet_rpc_server
|
||||
PROPERTY
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user