1
0
Fork 0

Add a missing DESKTOP_APP_USE_PACKAGED_LAZY condition

This commit is contained in:
Ilya Fedin 2022-03-19 06:19:28 +04:00 committed by John Preston
parent 425a0dc566
commit 250a405b07

View file

@ -8,7 +8,11 @@ add_library(external_kwayland INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_kwayland ALIAS external_kwayland) add_library(desktop-app::external_kwayland ALIAS external_kwayland)
if (DESKTOP_APP_USE_PACKAGED AND NOT DESKTOP_APP_QT6) if (DESKTOP_APP_USE_PACKAGED AND NOT DESKTOP_APP_QT6)
find_package(KF5Wayland) if (DESKTOP_APP_USE_PACKAGED_LAZY)
find_package(KF5Wayland QUIET)
else()
find_package(KF5Wayland)
endif()
if (KF5Wayland_FOUND) if (KF5Wayland_FOUND)
target_link_libraries(external_kwayland INTERFACE KF5::WaylandClient) target_link_libraries(external_kwayland INTERFACE KF5::WaylandClient)