diff --git a/platformthemeplugin/CMakeLists.txt b/platformthemeplugin/CMakeLists.txt index 660b234d..4ff3203a 100644 --- a/platformthemeplugin/CMakeLists.txt +++ b/platformthemeplugin/CMakeLists.txt @@ -27,7 +27,7 @@ else() list(APPEND QT_LIBS Qt6::GuiPrivate) endif() find_package(PkgConfig REQUIRED) -pkg_check_modules(Deps REQUIRED IMPORTED_TARGET mtdev) +pkg_check_modules(Deps REQUIRED IMPORTED_TARGET mtdev x11) if(ENABLE_QT_XDG_ICON_LOADER) set(DEFS -DXDG_ICON_VERSION_MAR=${XDG_ICON_VERSION_MAJOR}) endif()