diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-11-14 18:11:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-11-14 18:11:54 +0000 |
| commit | c55a56f1c2f5110f488d745cdf2c204f04c49701 (patch) | |
| tree | a6433005de94b813a5cc3c41b0c0f2e60964eb7e /src/plugins/General/notifier/CMakeLists.txt | |
| parent | fcfb0383206078ff7195fe70fb03929cd3a34132 (diff) | |
| download | qmmp-c55a56f1c2f5110f488d745cdf2c204f04c49701.tar.gz qmmp-c55a56f1c2f5110f488d745cdf2c204f04c49701.tar.bz2 qmmp-c55a56f1c2f5110f488d745cdf2c204f04c49701.zip | |
notifier: fixed build without x11 headers
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7725 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/CMakeLists.txt')
| -rw-r--r-- | src/plugins/General/notifier/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/General/notifier/CMakeLists.txt b/src/plugins/General/notifier/CMakeLists.txt index 1f0007ccf..ae11cd7c0 100644 --- a/src/plugins/General/notifier/CMakeLists.txt +++ b/src/plugins/General/notifier/CMakeLists.txt @@ -51,6 +51,7 @@ IF(X11_FOUND) include_directories(${X11_INCLUDE_DIRS}) link_directories(${X11_LIBRARY_DIRS}) ADD_DEFINITIONS(${X11_CFLAGS}) + ADD_DEFINITIONS(-DX11_FOUND) target_link_libraries(notifier ${QT_LIBRARIES} qmmpui libqmmp ${X11_LDFLAGS}) ELSE(X11_FOUND) target_link_libraries(notifier ${QT_LIBRARIES} qmmpui libqmmp) |
