build: Refuse to build without any drivers
This commit is contained in:
parent
3a7b03f022
commit
c88a51cce8
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ if drivers == [ 'all' ]
|
||||||
drivers = all_drivers
|
drivers = all_drivers
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if drivers.length() == 0 or drivers[0] == ''
|
||||||
|
error('Cannot build libfprint without drivers, please specify a valid value for the drivers option')
|
||||||
|
endif
|
||||||
|
|
||||||
nss_dep = dependency('', required: false)
|
nss_dep = dependency('', required: false)
|
||||||
imaging_dep = dependency('', required: false)
|
imaging_dep = dependency('', required: false)
|
||||||
foreach driver: drivers
|
foreach driver: drivers
|
||||||
|
|
Loading…
Reference in a new issue