CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers


Change-Id: I04f4f4094bec2299c32e72879d00d61eb00929e6
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commit21c4b3586ca46cbd45d21636b2cd22b20eaf7463
parent009d5d6aa095937cca0eeeafdc8ccf2dc8928b27
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeWed, 27 Jul 2022 17:41:30 +0200