CuarzoSoftware / SRM

Simple Rendering Manager
MIT License
53 stars 5 forks source link

fix build with non-standard libdrm path #13

Closed EBADBEEF closed 4 months ago

EBADBEEF commented 4 months ago

Without this, the examples can't find a libdrm include: ./SRMTypes.h:10:10: fatal error: drm_fourcc.h: No such file or directory

Note that when using meson partial_dependency(), 'compile_args' contains the gcc include paths, not 'includes'. Some discussion here at https://github.com/mesonbuild/meson/issues/7516

ehopperdietzel commented 4 months ago

Hello, thank you! I'll merge the changes, btw which distro are you using?

EBADBEEF commented 4 months ago

btw which distro are you using?

I almost don't want to say... NixOS :-)