meson: Use partial_dependency() for libdrm cflags
parent
4baeaa43fd
commit
f4f8f0bdb3
|
@ -34,9 +34,7 @@ if git.found()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libdrm_include_dir = dependency('libdrm').get_variable(pkgconfig: 'includedir')
|
libdrm_inc = dependency('libdrm').partial_dependency(compile_args: true)
|
||||||
|
|
||||||
c_args += '-I=' + libdrm_include_dir
|
|
||||||
|
|
||||||
add_project_arguments(c_args, language: 'c')
|
add_project_arguments(c_args, language: 'c')
|
||||||
|
|
||||||
|
@ -92,6 +90,7 @@ dependencies = [
|
||||||
pixman,
|
pixman,
|
||||||
aml,
|
aml,
|
||||||
zlib,
|
zlib,
|
||||||
|
libdrm_inc,
|
||||||
]
|
]
|
||||||
|
|
||||||
config = configuration_data()
|
config = configuration_data()
|
||||||
|
|
Loading…
Reference in New Issue