Add a missing DESKTOP_APP_USE_PACKAGED_LAZY condition
This commit is contained in:
parent
425a0dc566
commit
250a405b07
1 changed files with 5 additions and 1 deletions
6
external/kwayland/CMakeLists.txt
vendored
6
external/kwayland/CMakeLists.txt
vendored
|
|
@ -8,7 +8,11 @@ add_library(external_kwayland INTERFACE IMPORTED GLOBAL)
|
|||
add_library(desktop-app::external_kwayland ALIAS external_kwayland)
|
||||
|
||||
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)
|
||||
target_link_libraries(external_kwayland INTERFACE KF5::WaylandClient)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue