Regressed by db5e1399b90d due to using CMAKE_INSTALL_INCLUDEDIR without include(GNUInstallDirs). Also, without _FULL infix CMAKE_INSTALL_INCLUDEDIR expands to -Iinclude (relative path) which is still unusable via pkg-config.
breaking xdg-desktop-portal-hyprland v1.3.0 on FreeBSD:
/usr/bin/clang++ ... -I -I/usr/local/include/libdrm ...
In file included from ../src/portals/Screenshot.cpp:2:
In file included from ../src/portals/../core/PortalManager.hpp:14:
/usr/local/include/xf86drm.h:40:10: fatal error: 'drm.h' file not found
#include <drm.h>
^~~~~~~
Regressed by db5e1399b90d due to using
CMAKE_INSTALL_INCLUDEDIR
withoutinclude(GNUInstallDirs)
. Also, without_FULL
infixCMAKE_INSTALL_INCLUDEDIR
expands to-Iinclude
(relative path) which is still unusable via pkg-config.breaking xdg-desktop-portal-hyprland v1.3.0 on FreeBSD: