CMake: Don't use PUBLIC_LIBRARIES for executables


Change-Id: I13896b2982a28f0f09776a5eb18cd4acb7de4a54
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commit75d73109694dc222b15eefa68144f7523861c08d
parent46301218f026d1b2fe2980cff3556bcce00834a3
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeWed, 20 Jul 2022 19:07:18 +0200