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


Change-Id: I382a68fff85527077ee8a73a462d4dedfd4c4ebd
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commite7d9bd86fa81510c5a8f3dcd07d1bd6741173485
parent4cc11a0e593d1415c4055c4cca1964478e178fcf
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeThu, 28 Jul 2022 11:42:10 +0200