Skip to content

Include the pkgconfig-specified gdesktop-enums.h

Daniel van Vugt requested to merge vanvugt/mutter:ftbfs-gdesktop-enums into master

Instead of blindly hoping that $INCLUDE contains the parent directory of gsettings-desktop-schemas.

Because gsettings-desktop-schemas.pc says:

Cflags: -I/SOME/DIRECTORY/gsettings-desktop-schemas

Which means to include the version that Meson has configured you need to drop the directory prefix and only #include <gdesktop-enums.h>.

This fixes a build failure with local installs triggered by 775ec67a but it's also the right thing to do™.

Edited by Daniel van Vugt

Merge request reports

Loading