The removed commands were left over from the transition from autodetection to explicit options in the CMake staging branch. These commands prevented the -DENABLE_WALLET=OFF
option from being work properly when building with depends.
How to test:
0$ make -C depends NO_QT=1
On the master branch @ c66c68345efb0bb3d5613ebac703cde779fa0f01:
0$ rm -rf build && cmake -B build --toolchain depends/x86_64-pc-linux-gnu/toolchain.cmake -DENABLE_WALLET=OFF
1< snip >
2Optional features:
3 wallet support ...................... ON
4 - descriptor wallets (SQLite) ...... ON
5 - legacy wallets (Berkeley DB) ..... ON
6 external signer ..................... ON
7< snip >
With this PR:
0$ rm -rf build && cmake -B build --toolchain depends/x86_64-pc-linux-gnu/toolchain.cmake -DENABLE_WALLET=OFF
1< snip >
2Optional features:
3 wallet support ...................... OFF
4 external signer ..................... ON
5< snip >