Exclude Windows from find D-Bus in CMake

This commit is contained in:
Jonas Kvinge 2020-12-12 12:49:41 +01:00
parent 03291b27d1
commit a86640fdee
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ if(QT_MAJOR_VERSION EQUAL 5)
set(QT_MIN_VERSION 5.8)
endif()
if(DBUS_FOUND)
if(DBUS_FOUND AND NOT WIN32)
list(APPEND QT_COMPONENTS DBus)
endif()
if(X11_FOUND)