diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-08 20:07:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-08 20:07:03 +0000 |
| commit | b996b5be460041167e5f97fde4b0b5695938360d (patch) | |
| tree | e1c32624accc1bcb975a438c6bd9859700a4f2be /src/plugins/General/hotkey/CMakeLists.txt | |
| parent | 53cba850b9a66b1a946eedef42e7de82cfff1db0 (diff) | |
| download | qmmp-b996b5be460041167e5f97fde4b0b5695938360d.tar.gz qmmp-b996b5be460041167e5f97fde4b0b5695938360d.tar.bz2 qmmp-b996b5be460041167e5f97fde4b0b5695938360d.zip | |
hotkey plugin: fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3210 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hotkey/CMakeLists.txt')
| -rw-r--r-- | src/plugins/General/hotkey/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/plugins/General/hotkey/CMakeLists.txt b/src/plugins/General/hotkey/CMakeLists.txt index 29a9c06b2..33aa48ffb 100644 --- a/src/plugins/General/hotkey/CMakeLists.txt +++ b/src/plugins/General/hotkey/CMakeLists.txt @@ -30,6 +30,13 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../) link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui) link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) +# xkb +CHECK_INCLUDE_FILE(X11/XKBlib.h XKBLIB_H_FOUND) +IF(XKBLIB_H_FOUND) +ADD_DEFINITIONS(-DHAVE_XKBLIB_H) +SET(CMAKE_REQUIRED_DEFINITIONS -DHAVE_XKBLIB_H) +ENDIF(XKBLIB_H_FOUND) + SET(libhotkey_SRCS settingsdialog.cpp hotkeyfactory.cpp @@ -44,7 +51,7 @@ SET(libhotkey_MOC_HDRS hotkeydialog.h ) -SET(libhotkey_RCCS +SET(libhotkey_RCCS translations/translations.qrc ) |
