Fix toplevel Qt build

All targets using the "shared" approach need special handling in
toplevel builds to ensure that AUTOMOC works.
Amends aa4897e017.

Fixes: QTBUG-98468
Change-Id: Ic0a6ee0ab43190e359ad7cfb7e7634d393ff0b03
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
(cherry picked from commit 953c1cf394)
This commit is contained in:
Fabian Kosmale 2021-11-22 08:26:40 +01:00
parent 1003626e6a
commit 45d63800d7
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ set(reused_dir_targets
imageelements_shared
delegatechooser_shared
pointerhandlers_shared
particles/affectors_shared
particles/emitters_shared
particles/imageparticle_shared
particles/itemparticle_shared
particles/system_shared
draganddrop_shared
)
foreach(target IN LISTS reused_dir_targets)