diff --git a/src/plugins/platforms/wayland/CMakeLists.txt b/src/plugins/platforms/wayland/CMakeLists.txt index 01957eacd7f..62bc7e09e9f 100644 --- a/src/plugins/platforms/wayland/CMakeLists.txt +++ b/src/plugins/platforms/wayland/CMakeLists.txt @@ -126,5 +126,5 @@ qt_extend_target(WaylandClient CONDITION QT_FEATURE_draganddrop ) # special case begin -qt_record_extra_qt_package_dependency(WaylandClient WaylandScannerTools "") +qt_record_extra_qt_main_tools_package_dependency(WaylandClient WaylandScannerTools "${PROJECT_VERSION}") # special case end