diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2924c3e4..587c3dac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -79,6 +79,9 @@ if (enable-gdk-pixbuf) | |||
79 | else() | 79 | else() |
80 | message(STATUS "Building without gdk-pixbuf, only png images supported.") | 80 | message(STATUS "Building without gdk-pixbuf, only png images supported.") |
81 | endif() | 81 | endif() |
82 | if(enable-binding-event) | ||
83 | add_definitions(-DSWAY_BINDING_EVENT=1) | ||
84 | endif() | ||
82 | 85 | ||
83 | include_directories(include) | 86 | include_directories(include) |
84 | 87 | ||
@@ -114,9 +117,6 @@ if(enable-swaylock) | |||
114 | message(WARNING "Not building swaylock - cairo, pango, and PAM are required.") | 117 | message(WARNING "Not building swaylock - cairo, pango, and PAM are required.") |
115 | endif() | 118 | endif() |
116 | endif() | 119 | endif() |
117 | if(enable-binding-event) | ||
118 | add_definitions(-DSWAY_BINDING_EVENT=1) | ||
119 | endif() | ||
120 | 120 | ||
121 | install( | 121 | install( |
122 | FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop | 122 | FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop |