diff --git a/CMakeLists.txt b/CMakeLists.txt index a29565c33..d347a8280 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)