kwayland-server-5.19.5 (sorry if this is not the correct product, didn't find another one) Building packages depending on kwayland-server (e.g. kwin) fails on a system where each package resides in its own $PREFIX: CMake Error in CMakeLists.txt: Imported target "Plasma::KWaylandServer" includes non-existent path "/gnu/store/…-kwayland-server-5.19.5/include/KF5" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: … "/gnu/store/…-kwayland-server-5.19.5" is the of PREFIX of kwayland-server, and indeed there is no "include/KF5" directory in this prefix. The can easily be verfied by inspecting the filelist of the respoective Debian package: https://packages.debian.org/bullseye/amd64/libkwaylandserver-dev/filelist https://packages.debian.org/bullseye/amd64/libkwaylandserver5/filelist This error only shows up if packages reside in PREFIXes of their own. Otherwise the directory will be provided by another package, sharing the same prefix.