diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2017-07-20 22:14:32 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2017-07-20 22:14:32 +0200 |
| commit | b4afaf33bfa5a5ba12607acaf351fe946df3d964 (patch) | |
| tree | f069574851afa50bff3d8edeabe8f9790352faab /swaybar | |
| parent | d252ebc68dae50328d4fbbaa86da9bd60ea2e4fc (diff) | |
[swaybar] fix non-dbus build
Swaybar's CMakeLists.txt uses the enable-tray option directly to decide whether to build the tray. This leads to a compilation error if dbus is not installed.
This patch uses the ENABLE_TRAY variable instead, which is only true if the user enabled the tray *and* dbus is available.
Diffstat (limited to 'swaybar')
| -rw-r--r-- | swaybar/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/CMakeLists.txt b/swaybar/CMakeLists.txt index 373719de..48ededdd 100644 --- a/swaybar/CMakeLists.txt +++ b/swaybar/CMakeLists.txt @@ -7,7 +7,7 @@ include_directories( ${XKBCOMMON_INCLUDE_DIRS} ${DBUS_INCLUDE_DIRS} ) -if (enable-tray) +if (ENABLE_TRAY) file(GLOB tray tray/*.c ) |
