Add libdrm include path to cflags

This seems to be required for this to build on FreeBSD
abstract-encoder
Andri Yngvason 2020-12-31 02:32:33 +00:00
parent b1d32694d0
commit d2d2f32f17
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ if git.found()
endif endif
endif endif
libdrm_include_dir = dependency('libdrm').get_variable(pkgconfig: 'includedir')
c_args += '-I' + libdrm_include_dir
add_project_arguments(c_args, language: 'c') add_project_arguments(c_args, language: 'c')
cc = meson.get_compiler('c') cc = meson.get_compiler('c')