mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Merge pull request #1285 from tobiasblass/fix_non_dbus_build
[swaybar] fix non-dbus build
This commit is contained in:
commit
47754642f8
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -7,7 +7,7 @@ include_directories(
|
|||
${XKBCOMMON_INCLUDE_DIRS}
|
||||
${DBUS_INCLUDE_DIRS}
|
||||
)
|
||||
if (enable-tray)
|
||||
if (ENABLE_TRAY)
|
||||
file(GLOB tray
|
||||
tray/*.c
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue