summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build2
-rw-r--r--meson_options.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 56f1141e..eb5cba84 100644
--- a/meson.build
+++ b/meson.build
@@ -120,6 +120,8 @@ else
120endif 120endif
121add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c') 121add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
122 122
123add_project_arguments('-D_LD_LIBRARY_PATH="@0@"'.format(get_option('ld-library-path')), language: 'c')
124
123sway_inc = include_directories('include') 125sway_inc = include_directories('include')
124 126
125subdir('include') 127subdir('include')
diff --git a/meson_options.txt b/meson_options.txt
index 911be2d6..50d646fd 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,4 +1,5 @@
1option('sway-version', type : 'string', description: 'The version string reported in `sway --version`.') 1option('sway-version', type : 'string', description: 'The version string reported in `sway --version`.')
2option('ld-library-path', type: 'string', value: '', description: 'The LD_LIBRARY_PATH environment variable.')
2option('default-wallpaper', type: 'boolean', value: true, description: 'Install the default wallpaper.') 3option('default-wallpaper', type: 'boolean', value: true, description: 'Install the default wallpaper.')
3option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions.') 4option('zsh-completions', type: 'boolean', value: true, description: 'Install zsh shell completions.')
4option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions.') 5option('bash-completions', type: 'boolean', value: true, description: 'Install bash shell completions.')