Commit 5d88cc4
committed
M9.R.15q.6.5: kwin global -isystem flags for libwayland + Qt6 headers
The cmake build phase failed because specific kwin sub-targets (killer,
aurorae decorations, kpackage plugins) compile auto-generated
<protocol>-protocol.c sources whose #include 'wayland-util.h' is not on
the target's per-CMakeLists -I list.
Root cause: kwin's upstream src/helpers/killer/CMakeLists.txt declares
target_link_libraries(kwin_killer_helper Qt::WaylandClient ...) but NOT
Wayland::Client; Qt's qt6_generate_wayland_protocol_client_sources adds
the .c source but does not propagate the libwayland include path.
Stop-gap: thread '-isystem <wayland>/include' + '-isystem <qt6-base>/
include' + '-isystem <qt6-declarative>/include' via CMAKE_C_FLAGS +
CMAKE_CXX_FLAGS so EVERY target sees the missing headers. Upstream-
correct fix is per-target target_include_directories but that requires
patching kwin's source tree which is out of scope for this milestone.1 parent 40f0ffa commit 5d88cc4
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
399 | 415 | | |
400 | 416 | | |
401 | 417 | | |
| |||
410 | 426 | | |
411 | 427 | | |
412 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
413 | 432 | | |
414 | 433 | | |
415 | 434 | | |
| |||
0 commit comments