aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/CMakeLists.txt
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-08 16:39:33 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-08 16:39:33 +0000
commitbfd2dac9d18d3a27aa7a3b5a57878351900d6ed5 (patch)
tree280befd745f50a0505f402a75f0276bb416cf32b /src/plugins/General/hotkey/CMakeLists.txt
parentb8709fa3fd8946d8235179ba307a321aa3858c40 (diff)
downloadqmmp-bfd2dac9d18d3a27aa7a3b5a57878351900d6ed5.tar.gz
qmmp-bfd2dac9d18d3a27aa7a3b5a57878351900d6ed5.tar.bz2
qmmp-bfd2dac9d18d3a27aa7a3b5a57878351900d6ed5.zip
fixed build
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1293 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hotkey/CMakeLists.txt')
-rw-r--r--src/plugins/General/hotkey/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/General/hotkey/CMakeLists.txt b/src/plugins/General/hotkey/CMakeLists.txt
index eee444f7b..6742dfca9 100644
--- a/src/plugins/General/hotkey/CMakeLists.txt
+++ b/src/plugins/General/hotkey/CMakeLists.txt
@@ -24,6 +24,9 @@ SET(QT_INCLUDES
pkg_check_modules(X11 xf86miscproto x11)
+include_directories(${X11_INCLUDE_DIRS})
+link_directories(${X11_LIBRARY_DIRS})
+
# libqmmpui & libqmmp
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../)
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui)
@@ -67,6 +70,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
IF(X11_FOUND)
ADD_LIBRARY(hotkey MODULE ${libhotkey_SRCS} ${libhotkey_MOC_SRCS} ${libhotkey_UIS_H} ${libhotkey_RCC_SRCS})
add_dependencies(hotkey qmmpui)
-target_link_libraries(hotkey ${QT_LIBRARIES} -lqmmpui -lqmmp)
+target_link_libraries(hotkey ${QT_LIBRARIES} -lqmmpui -lqmmp ${X11_LDFLAGS})
install(TARGETS hotkey DESTINATION ${LIB_DIR}/qmmp/General)
ENDIF(X11_FOUND)