mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Make enable-binding-event option have an affect.
The option was added to late so it was never set in the build.
This commit is contained in:
parent
7388e1ecd8
commit
93c93dd0f7
|
@ -79,6 +79,9 @@ if (enable-gdk-pixbuf)
|
||||||
else()
|
else()
|
||||||
message(STATUS "Building without gdk-pixbuf, only png images supported.")
|
message(STATUS "Building without gdk-pixbuf, only png images supported.")
|
||||||
endif()
|
endif()
|
||||||
|
if(enable-binding-event)
|
||||||
|
add_definitions(-DSWAY_BINDING_EVENT=1)
|
||||||
|
endif()
|
||||||
|
|
||||||
include_directories(include)
|
include_directories(include)
|
||||||
|
|
||||||
|
@ -114,9 +117,6 @@ if(enable-swaylock)
|
||||||
message(WARNING "Not building swaylock - cairo, pango, and PAM are required.")
|
message(WARNING "Not building swaylock - cairo, pango, and PAM are required.")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(enable-binding-event)
|
|
||||||
add_definitions(-DSWAY_BINDING_EVENT=1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
||||||
|
|
Loading…
Reference in a new issue