diff options
| author | Drew DeVault <sir@cmpwn.com> | 2016-01-19 18:50:12 -0500 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2016-01-19 18:50:12 -0500 |
| commit | a6b19988c54272dbd9366a7e8fa6b8c459541cb6 (patch) | |
| tree | 5991fa5cb3c5003b003952365356ad123d3048d4 /CMakeLists.txt | |
| parent | b72a62b02b601d98ca89919f42e7ddec4e8ab2b2 (diff) | |
| parent | fcd007155552376fa5c482d5d650b90f9a7e172e (diff) | |
Merge pull request #440 from SethBarberee/zsh-completions
Basic Zsh auto-completion for --options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4620ff54..db019083 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,7 @@ option(enable-swaygrab "Enables the swaygrab utility" YES) option(enable-swaymsg "Enables the swaymsg utility" YES) option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES) option(enable-binding-event "Enables binding event subscription" YES) +option(zsh-completions "Zsh shell completions" YES) option(default-wallpaper "Installs the default wallpaper" YES) find_package(JsonC REQUIRED) @@ -120,7 +121,9 @@ if(enable-swaylock) message(WARNING "Not building swaylock - cairo, pango, and PAM are required.") endif() endif() - +if(zsh-completions) + add_subdirectory(completions/zsh) +endif() install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop DESTINATION share/wayland-sessions |
