diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 83989ecd..e314fd73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -45,9 +45,11 @@ option(enable-swaybar "Enables the swaybar utility" YES) | |||
45 | option(enable-swaygrab "Enables the swaygrab utility" YES) | 45 | option(enable-swaygrab "Enables the swaygrab utility" YES) |
46 | option(enable-swaymsg "Enables the swaymsg utility" YES) | 46 | option(enable-swaymsg "Enables the swaymsg utility" YES) |
47 | option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) | 47 | option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) |
48 | option(enable-binding-event "Enables binding event subscription" YES) | ||
49 | option(zsh-completions "Zsh shell completions" NO) | 48 | option(zsh-completions "Zsh shell completions" NO) |
50 | option(default-wallpaper "Installs the default wallpaper" YES) | 49 | option(default-wallpaper "Installs the default wallpaper" YES) |
50 | option(ld-library-path "Configures sway's default LD_LIBRARY_PATH" "/usr/lib") | ||
51 | |||
52 | add_definitions(-D_LD_LIBRARY_PATH="${ld-library-path}") | ||
51 | 53 | ||
52 | find_package(JsonC REQUIRED) | 54 | find_package(JsonC REQUIRED) |
53 | find_package(PCRE REQUIRED) | 55 | find_package(PCRE REQUIRED) |
@@ -83,9 +85,6 @@ if (enable-gdk-pixbuf) | |||
83 | else() | 85 | else() |
84 | message(STATUS "Building without gdk-pixbuf, only png images supported.") | 86 | message(STATUS "Building without gdk-pixbuf, only png images supported.") |
85 | endif() | 87 | endif() |
86 | if(enable-binding-event) | ||
87 | add_definitions(-DSWAY_BINDING_EVENT=1) | ||
88 | endif() | ||
89 | 88 | ||
90 | include_directories(include) | 89 | include_directories(include) |
91 | 90 | ||