aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/CMakeLists.txt')
-rw-r--r--src/plugins/General/hotkey/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/hotkey/CMakeLists.txt b/src/plugins/General/hotkey/CMakeLists.txt
index 99651e4a1..46d7d1a5e 100644
--- a/src/plugins/General/hotkey/CMakeLists.txt
+++ b/src/plugins/General/hotkey/CMakeLists.txt
@@ -49,7 +49,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
IF(X11_FOUND)
set_property(SOURCE hotkeymanager_x11.cpp PROPERTY SKIP_AUTOMOC ON)
ADD_LIBRARY(hotkey MODULE ${libhotkey_SRCS} ${libhotkey_UIS_H} ${libhotkey_RCC_SRCS})
-add_dependencies(hotkey qmmpui)
-target_link_libraries(hotkey Qt5::Widgets Qt5::X11Extras -lqmmpui -lqmmp ${X11_LDFLAGS})
+add_dependencies(hotkey libqmmpui)
+target_link_libraries(hotkey Qt5::Widgets Qt5::X11Extras libqmmpui libqmmp ${X11_LDFLAGS})
install(TARGETS hotkey DESTINATION ${PLUGIN_DIR}/General)
ENDIF(X11_FOUND)