When building for fuzzing with multiprocess enabled, we were still trying to build bitcoin-node
. This PR fixes that, by applying a similar check as for bitcoin-gui
.
Before:
0cmake -B build -DBUILD_FOR_FUZZING=ON -DWITH_MULTIPROCESS=ON
1
2...
3
4Configure summary
5=================
6Executables:
7 bitcoind ............................ OFF
8 bitcoin-node (multiprocess) ......... ON
9 bitcoin-qt (GUI) .................... OFF
10 bitcoin-gui (GUI, multiprocess) ..... OFF
11
12...
13
14cmake --build build
15
16...
17
18[ 84%] Built target bitcoin-node
After:
0 bitcoin-node (multiprocess) ......... OFF
And no bitcoin-node
target gets built (not to be confused with bitcoin_node
).