fuzzgen: skip AUTOMOC/AUTORCC in embedded mode


In embedded mode the generated CMakeLists.txt is included into the Qt
build via add_subdirectory(). The Qt build's AUTOGEN setup requires
find_package(Qt6) to have run, which doesn't happen in embedded mode.
Since fuzz files contain no Q_OBJECT declarations, AUTOMOC is
unnecessary; gate the set_target_properties(AUTOMOC/AUTORCC) block on
!embedded to avoid hundreds of "No valid Qt version found" errors when
building inside Qt's own tree.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: I324e3db2fb2db9ae14d48850988f91d096cc95c4
Reviewed-by: Frederic Lefebvre <frederic.lefebvre@qt.io>
commit6d74d35d167488bf14f64d33da8f58152720acb0
parent564116c7d8a32b3a5c0e0c291ae109e5888e0538
authorAxel Spoerl <axel.spoerl@qt.io>
committerAxel Spoerl <axel.spoerl@qt.io>
commit timeWed, 15 Jul 2026 14:07:30 +0000