CMake: Improve build system dependency handling and summary


Rewrite configure.cmake to check for the required 3rd party
dependencies in a more precise manner.

Use find_package(Java) to find the java compiler.

Add detailed configure summary information for the various
dependencies.

Improve the wording of various diagnostic messages.

Replace the early returns in src/tools/qtopenapi-generator
with a check for the appropriate feature in the parent CMakeLists.txt.

Change-Id: I079b240fe46e49e1d1232d356451438e15c04a25
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit08fec50935b772b1d12e55e6b4555238731c7627
parent65262a7746cb12d9ad3406a94a0db222a9128951
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 18 Nov 2025 14:14:38 +0100