File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,12 @@ message("Configure summary")
609609message ("=================" )
610610message ("Executables:" )
611611message (" bitcoind ............................ ${BUILD_DAEMON} " )
612- message (" bitcoin-node (multiprocess) ......... ${WITH_MULTIPROCESS} " )
612+ if (BUILD_DAEMON AND WITH_MULTIPROCESS)
613+ set (bitcoin_daemon_status ON )
614+ else ()
615+ set (bitcoin_daemon_status OFF )
616+ endif ()
617+ message (" bitcoin-node (multiprocess) ......... ${bitcoin_daemon_status} " )
613618message (" bitcoin-qt (GUI) .................... ${BUILD_GUI} " )
614619if (BUILD_GUI AND WITH_MULTIPROCESS)
615620 set (bitcoin_gui_status ON )
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ if(BUILD_DAEMON)
320320 )
321321 list (APPEND installable_targets bitcoind)
322322endif ()
323- if (WITH_MULTIPROCESS)
323+ if (WITH_MULTIPROCESS AND BUILD_DAEMON )
324324 add_executable (bitcoin-node
325325 bitcoind.cpp
326326 init/bitcoin-node.cpp
@@ -332,8 +332,9 @@ if(WITH_MULTIPROCESS)
332332 $<TARGET_NAME_IF_EXISTS:bitcoin_wallet>
333333 )
334334 list (APPEND installable_targets bitcoin-node)
335+ endif ()
335336
336- if (BUILD_TESTS)
337+ if (WITH_MULTIPROCESS AND BUILD_TESTS)
337338 # bitcoin_ipc_test library target is defined here in src/CMakeLists.txt
338339 # instead of src/test/CMakeLists.txt so capnp files in src/test/ are able to
339340 # reference capnp files in src/ipc/capnp/ by relative path. The Cap'n Proto
@@ -347,7 +348,6 @@ if(WITH_MULTIPROCESS)
347348 test /ipc_test.capnp
348349 )
349350 add_dependencies (bitcoin_ipc_test bitcoin_ipc_headers)
350- endif ()
351351endif ()
352352
353353
You can’t perform that action at this time.
0 commit comments