mirror of
https://github.com/swaywm/sway.git
synced 2025-12-15 08:56:30 -05:00
Make IPC binding event support a compile time opt.
This commit is contained in:
parent
14147ac056
commit
15cbc53a77
3 changed files with 29 additions and 7 deletions
|
|
@ -44,6 +44,7 @@ option(enable-swaybar "Enables the swaybar utility" YES)
|
|||
option(enable-swaygrab "Enables the swaygrab utility" YES)
|
||||
option(enable-swaymsg "Enables the swaymsg utility" YES)
|
||||
option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES)
|
||||
option(enable-binding-event "Enables binding event subscription" YES)
|
||||
|
||||
find_package(JsonC REQUIRED)
|
||||
find_package(PCRE REQUIRED)
|
||||
|
|
@ -112,6 +113,9 @@ if(enable-swaylock)
|
|||
message(WARNING "Not building swaylock - cairo, pango, and PAM are required.")
|
||||
endif()
|
||||
endif()
|
||||
if(enable-binding-event)
|
||||
add_definitions(-DSWAY_BINDING_EVENT=1)
|
||||
endif()
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue