build: automatically disable Intel if pciaccess is not found
authorSimon Ser <contact@emersion.fr>
Wed, 28 Sep 2022 06:49:40 +0000 (08:49 +0200)
committerSimon Ser <contact@emersion.fr>
Mon, 3 Oct 2022 07:03:30 +0000 (09:03 +0200)
commit0bd3e4e94f8270e64c7fd1e361a71da4a1547b1b
tree5d8f12175eb558c998d58970505b70ed27c2dc97
parent2df9cc28c05bc0a4de94bfb786897838c8decce6
build: automatically disable Intel if pciaccess is not found

Wire up the pciaccess dep to the intel option. This automatically
skips the dep if intel is explicitly disabled, fails if intel is
explicitly enabled and it's not found, and disables intel if it's
set to auto and the dep is not found.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
meson.build