CMake: qtwaylandscanner doesn't need Wayland::Client

Remove dependency to Wayland::Client as it's not needed and
prevents building qtwaylandscanner for Windows where Client
is not supported but scanner is needed for cross-compilations.

Change-Id: Ia38dda58c0800799673ae2d1e29626ce6b399f04
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit b23da37d71bde4673fab3510596514e4ac451053)
This commit is contained in:
Samuli Piippo 2025-05-23 08:51:22 +00:00
parent eae538fa06
commit 3afa63c30c

View File

@ -31,7 +31,7 @@ qt_feature("qmake" PRIVATE
QT_FEATURE_datestring AND QT_FEATURE_regularexpression AND QT_FEATURE_temporaryfile)
qt_feature("qtwaylandscanner" PRIVATE
CONDITION TARGET Wayland::Scanner AND TARGET Wayland::Client
CONDITION TARGET Wayland::Scanner
)
qt_configure_add_summary_section(NAME "Core tools")