aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-09 20:25:05 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-09 20:25:45 +0100
commit93c93dd0f7aa27fc31702bd91f055f5bac45fe3c (patch)
tree71dc21b74fd0287f66ceed965fb0d96cbfe17aa6
parent7388e1ecd8ba90f80156837d550087334a2935db (diff)
downloadsway-93c93dd0f7aa27fc31702bd91f055f5bac45fe3c.tar.xz
Make enable-binding-event option have an affect.
The option was added to late so it was never set in the build.
-rw-r--r--CMakeLists.txt6
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