CMake: Add dependencies on the jar files when running the generator


Add a file-level dependency on the upstream generator jar file, as
well as on the Qt generator plugin jar file, to the custom command
that generates OpenApi client code.

Otherwise, tests or examples won't rebuild when they are configured
in-tree with the generator build.

Change-Id: I2cb9f049640347a5ac7f8b63a1c5fb90b880be9a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit061dc8f82a7c8824525a09ac12c58f6e902ca943
parent1c4680748dfa6cf399fe3672371d4d10e7da70d2
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 18 Nov 2025 14:15:10 +0100