aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/General/hotkey/CMakeLists.txt2
-rw-r--r--src/plugins/General/hotkey/hotkey.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/hotkey/CMakeLists.txt b/src/plugins/General/hotkey/CMakeLists.txt
index 6742dfca9..1c5c1ae65 100644
--- a/src/plugins/General/hotkey/CMakeLists.txt
+++ b/src/plugins/General/hotkey/CMakeLists.txt
@@ -22,7 +22,7 @@ SET(QT_INCLUDES
${CMAKE_CURRENT_SOURCE_DIR}/../../../
)
-pkg_check_modules(X11 xf86miscproto x11)
+pkg_search_module(X11 x11)
include_directories(${X11_INCLUDE_DIRS})
link_directories(${X11_LIBRARY_DIRS})
diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro
index f7f7376f0..e0c2876ad 100644
--- a/src/plugins/General/hotkey/hotkey.pro
+++ b/src/plugins/General/hotkey/hotkey.pro
@@ -6,7 +6,7 @@ plugin \
lib \
link_pkgconfig
-PKGCONFIG += xf86miscproto x11
+PKGCONFIG += x11
TARGET = $$PLUGINS_PREFIX/General/hotkey
QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so