add mandatory=False to dbus-1 check so that the custom error message is shown if dbus-1 is missing

This commit is contained in:
Karl Lindén 2015-04-08 23:51:49 +02:00
parent 213f3ba20a
commit 8accf6531a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def options(opt):
def configure(conf):
conf.env['BUILD_JACKDBUS'] = False
if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs'):
if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs', mandatory=False):
print(Logs.colors.RED + 'WARNING !! jackdbus will not be built because libdbus-dev is missing' + Logs.colors.NORMAL)
return