CMake: Fix build without qtshadertools


The find_package(... ShaderTools) call was moved to the top-level
CMakeLists.txt in a previous commit. Also, the package was made
optional. The qtshadertools dependency in dependencies.yaml is also
marked as optional.

Make the qt3d-rhi-renderer feature dependent on the availability of the
Qt::ShaderTools target.

Change-Id: I4849428d1ff4405b7547d56251c3c81bfa2e6a5b
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
commitfb85ccfb31215bf31b0e31ab3c5594eee11a147d
parent980e2f2a3f40521ce68e1f563c731b18984e64c8
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeFri, 25 Nov 2022 13:28:46 +0100