diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-08 16:39:33 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-08 16:39:33 +0000 |
| commit | bfd2dac9d18d3a27aa7a3b5a57878351900d6ed5 (patch) | |
| tree | 280befd745f50a0505f402a75f0276bb416cf32b /src/plugins | |
| parent | b8709fa3fd8946d8235179ba307a321aa3858c40 (diff) | |
| download | qmmp-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')
| -rw-r--r-- | src/plugins/General/hotkey/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/plugins/General/hotkey/hotkey.pro | 5 |
2 files changed, 8 insertions, 2 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) diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro index 21ef268f3..f7f7376f0 100644 --- a/src/plugins/General/hotkey/hotkey.pro +++ b/src/plugins/General/hotkey/hotkey.pro @@ -3,7 +3,10 @@ include(../../plugins.pri) CONFIG += release \ warn_on \ plugin \ - lib + lib \ + link_pkgconfig + +PKGCONFIG += xf86miscproto x11 TARGET = $$PLUGINS_PREFIX/General/hotkey QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so |
