Commit c88a51cc authored by Bastien Nocera's avatar Bastien Nocera

build: Refuse to build without any drivers

parent 3a7b03f0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment