Use a CMake option() for the TOOLS_ONLY flag
Since adding the cmake_dependent_option()
, cross-compiled builds
defaulted to TOOLS_ONLY being ON
. We could change the last argument
to OFF
instead of ON
, but making this option independent of whether
we are cross-compiling is simpler.