CMake: Fix test_waylandclient

The test uses Qt6::WaylandClientPrivate and must now
find_package(Qt6WaylandClientPrivate).

Fixes: QTBUG-134205
Change-Id: Ia715ff9dd57ff4d19679f686fad64954c38289b6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Joerg Bornemann 2025-02-28 12:45:38 +01:00
parent 9c4cd93ab4
commit 0772749b2c

View File

@ -6,6 +6,6 @@ project(test_plugins)
cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0056 NEW)
find_package(Qt6WaylandClient REQUIRED)
find_package(Qt6WaylandClientPrivate REQUIRED)
add_executable(test_waylandclient_exe main.cpp)
target_link_libraries(test_waylandclient_exe Qt6::WaylandClientPrivate)