cannot use return of gnome.mkenums() with install_headers
When generate the type builtins header with enums = gnome.mkenums(...)
, using the return value enums[1] with install_headers results in an error:
ERROR: Invalid header type <CustomTargetHolder ab16c14@@vtetypebuiltins.h@cus: ['/usr/bin/glib-mkenums', '--template', '@INPUT@']> can't be installed
I can work around that by using install_header: true
in the mkenums() call, but I wanted to add the enum header to the list of all headers and install that in one go (and the list is also used in more places).
(Also, if there has to be an error message, it really should list the originating source location.)