Fix dbus compile without X11

This commit is contained in:
Jonas Kvinge
2018-07-03 20:32:28 +02:00
parent a00b8b2dca
commit 602f9759bb
5 changed files with 10 additions and 4 deletions

View File

@@ -91,6 +91,9 @@ if(ALSA_FOUND)
set(HAVE_ALSA ON)
endif()
find_package(X11)
if(X11_FOUND)
set(HAVE_X11 ON)
endif()
pkg_check_modules(GSTREAMER gstreamer-1.0)
pkg_check_modules(GSTREAMER_BASE gstreamer-base-1.0)
pkg_check_modules(GSTREAMER_AUDIO gstreamer-audio-1.0)