diff options
author | 2016-01-08 09:48:24 -0500 | |
---|---|---|
committer | 2016-01-08 09:48:24 -0500 | |
commit | e2d49afb4a9cf1c333cbb1e18360026508b79a60 (patch) | |
tree | 37391772505203dd0ac0b533e89359b0d5d6e040 /CMakeLists.txt | |
parent | Merge pull request #439 from mikkeloscar/bindsym-release (diff) | |
parent | Make IPC binding event support a compile time opt. (diff) | |
download | sway-e2d49afb4a9cf1c333cbb1e18360026508b79a60.tar.gz sway-e2d49afb4a9cf1c333cbb1e18360026508b79a60.tar.zst sway-e2d49afb4a9cf1c333cbb1e18360026508b79a60.zip |
Merge pull request #438 from mikkeloscar/binding-event
Implement IPC binding event (keyboard)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c556b0e..447fd584 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -44,6 +44,7 @@ option(enable-swaybar "Enables the swaybar utility" YES) | |||
44 | option(enable-swaygrab "Enables the swaygrab utility" YES) | 44 | option(enable-swaygrab "Enables the swaygrab utility" YES) |
45 | option(enable-swaymsg "Enables the swaymsg utility" YES) | 45 | option(enable-swaymsg "Enables the swaymsg utility" YES) |
46 | option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) | 46 | option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) |
47 | option(enable-binding-event "Enables binding event subscription" YES) | ||
47 | 48 | ||
48 | find_package(JsonC REQUIRED) | 49 | find_package(JsonC REQUIRED) |
49 | find_package(PCRE REQUIRED) | 50 | find_package(PCRE REQUIRED) |
@@ -112,6 +113,9 @@ if(enable-swaylock) | |||
112 | message(WARNING "Not building swaylock - cairo, pango, and PAM are required.") | 113 | message(WARNING "Not building swaylock - cairo, pango, and PAM are required.") |
113 | endif() | 114 | endif() |
114 | endif() | 115 | endif() |
116 | if(enable-binding-event) | ||
117 | add_definitions(-DSWAY_BINDING_EVENT=1) | ||
118 | endif() | ||
115 | 119 | ||
116 | install( | 120 | install( |
117 | FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop | 121 | FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop |