┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7642c5c67..2d7cba790 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -471,6 +471,14 @@ target_link_libraries(dolphin
KF5::Crash
)
+if (HAVE_X11)
+ if (QT_MAJOR_VERSION STREQUAL "5")
+ target_link_libraries(dolphin PRIVATE Qt5::X11Extras)
+ else()
+ target_link_libraries(dolphin PRIVATE Qt::GuiPrivate)
+ endif()
+endif()
+
include(DbusInterfaceMacros)
generate_and_install_dbus_interface(