mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
build: Refuse to build without any drivers
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user