diff options
| author | Drew DeVault <sir@cmpwn.com> | 2017-07-20 19:43:48 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2017-07-26 19:12:21 -0400 |
| commit | 0eded8ee7b5c732302d2857f0efe1e7d89c65079 (patch) | |
| tree | b9dee01e55f6660d470b77f63d8f244d49e2d19a | |
| parent | 6c9aa2a2672903a468ab565d787c1afc3c4de725 (diff) | |
Merge pull request #1285 from tobiasblass/fix_non_dbus_build
[swaybar] fix non-dbus build
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | swaybar/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac92e830..1101bd08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,7 @@ endif() if (enable-tray) if (DBUS_FOUND) - set(ENABLE_TRAY) + set(ENABLE_TRAY TRUE) add_definitions(-DENABLE_TRAY) else() message(WARNING "Tray required but DBus was not found. Tray will not be included") 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 ) |
