Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: properly check for libva, add libdrm dependency #165

Merged
merged 3 commits into from
Jan 31, 2023

Conversation

evelikov
Copy link
Contributor

Greetings everyone,

Here we group the dependencies, annotate libva as partial (compile-only) dependency + add the missing libdrm (again partial compile-only) dependency to the list.

First commit is cosmetic, while the latter two remove over-linking and misc include hacks.

Makes the code a little cleaner

Signed-off-by: Emil Velikov <[email protected]>
Aka we need libva for the backend headers, but we don't link against it.
Thus we only need a partial_dependency(compile: true)

Signed-off-by: Emil Velikov <[email protected]>
The pkg-config --cflags (pulled by the meson dependency()) already
provides the correct directory. Drop the inline libdrm vs drm magic.

Just like libva - this is a partial (compile-only) dependency.

Signed-off-by: Emil Velikov <[email protected]>
@elFarto
Copy link
Owner

elFarto commented Jan 31, 2023

Thanks for the patch!

@elFarto elFarto merged commit fec3f15 into elFarto:master Jan 31, 2023
@evelikov evelikov deleted the libdrm branch January 31, 2023 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants