Run:
cmake -DBUILD_BITCOIN_CLI=OFF -GNinja .. && ninja check-functional
It should return:
`ninja: error: '../src/bitcoin-cli', needed by 'test/CMakeFiles/check-functional', missing and no known rule to make it`
Should return no error (clear the cache first):
cmake -GNinja .. && ninja check-functional