mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
build: Refuse to build without any drivers
This commit is contained in:
@@ -52,6 +52,10 @@ if drivers == [ 'all' ]
|
||||
drivers = all_drivers
|
||||
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)
|
||||
imaging_dep = dependency('', required: false)
|
||||
foreach driver: drivers
|
||||
|
||||
Reference in New Issue
Block a user