diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-01-09 20:25:05 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-01-09 20:25:05 +0100 |
| commit | 6d3d5d3ea182554d0702fdb49cac1d70d3a84f93 (patch) | |
| tree | 71dc21b74fd0287f66ceed965fb0d96cbfe17aa6 /CMakeLists.txt | |
| parent | 636fcdbfbcfaf6068845b08686ba59e08247010c (diff) | |
Make enable-binding-event option have an affect.
The option was added to late so it was never set in the build.
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) else() message(STATUS "Building without gdk-pixbuf, only png images supported.") endif() +if(enable-binding-event) + add_definitions(-DSWAY_BINDING_EVENT=1) +endif() include_directories(include) @@ -114,9 +117,6 @@ 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 |
