build: Fix build with no drivers using imaging_dep

Closes: #109
This commit is contained in:
Bastien Nocera 2018-09-28 15:59:45 +02:00
parent 36dba33808
commit 7962d8cdab

View file

@ -52,8 +52,8 @@ if drivers == [ 'all' ]
drivers = all_drivers
endif
nss_dep = []
imaging_dep = []
nss_dep = dependency('', required: false)
imaging_dep = dependency('', required: false)
foreach driver: drivers
if driver == 'uru4000'
nss_dep = dependency('nss', required: false)