Make dbus optional to please CI

This commit is contained in:
Jonas Kvinge 2018-11-17 16:13:00 +01:00 committed by John Maguire
parent caedd6bcf4
commit 4321ecf7d2
1 changed files with 1 additions and 5 deletions

View File

@ -49,11 +49,7 @@ find_package(PkgConfig REQUIRED)
find_package(Protobuf REQUIRED)
find_package(FFTW3)
find_package(ALSA)
if(LINUX)
pkg_check_modules(DBUS REQUIRED dbus-1)
else(LINUX)
pkg_check_modules(DBUS dbus-1)
endif(LINUX)
pkg_check_modules(DBUS dbus-1)
if (NOT APPLE)
find_package(X11)
endif()