Skip to content
Commit de442e4a authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Install Client headers in a dirs hierarchy matching the C++ namespaces

Headers should be in <prefix>/include/KF*/ModuleName/NameSpace, so
KF*/KWayland/KWayland/Client ...etc.

This is so that "#include <KWayland/Client/foo.h>" continues to work
with KF6. Thanks to Volker for explaining that to me :)

This auto-magically worked with KF5 because <prefix>/include/KF*/ was
always added to the targets interface include dirs by ECM (for
compatibility with KDE4?).

See:
https://mail.kde.org/pipermail/kde-frameworks-devel/2022-January/120608.html

Note the Server part wasn't changed by this commit because it's deprecated
as it was moved to Plasma to accommodate the KWin release cycle.
parent e2ce3678
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment