build: add missing wayland-client CFLAGS

Fixes #276
This commit is contained in:
Mia Herkt 2026-03-18 20:37:17 +01:00 committed by outfoxxed
parent 0cb62920a7
commit 7511545ee2
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -68,6 +68,7 @@ function (wl_proto target name dir)
target_include_directories(${target} INTERFACE ${PROTO_BUILD_PATH}) target_include_directories(${target} INTERFACE ${PROTO_BUILD_PATH})
target_link_libraries(${target} wl-proto-${name}-wl Qt6::WaylandClient Qt6::WaylandClientPrivate) target_link_libraries(${target} wl-proto-${name}-wl Qt6::WaylandClient Qt6::WaylandClientPrivate)
qs_pch(${target} SET wayland-protocol) qs_pch(${target} SET wayland-protocol)
target_compile_options(wl-proto-${name}-wl PRIVATE ${wayland_CFLAGS})
endfunction() endfunction()
# ----- # -----