build(wayland): setup cmake for wayland module

This commit is contained in:
outfoxxed 2024-02-20 03:12:05 -08:00
parent c6dde9ca9d
commit b0567a569b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 71 additions and 5 deletions

View file

@ -16,10 +16,7 @@ qt_add_executable(quickshell
qt_add_qml_module(quickshell URI QuickShell)
# qml type registration requires this
target_include_directories(quickshell PRIVATE src/core)
target_link_libraries(quickshell PRIVATE Qt6::Gui Qt6::Qml Qt6::Quick Qt6::QuickControls2)
target_link_libraries(quickshell PRIVATE ${QT_DEPS} quickshell-wayland)
if (LAYERSHELL)
find_package(LayerShellQt REQUIRED)