diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 69bcf7c..4efb996 100644 --- a/meson.build +++ b/meson.build @@ -1,9 +1,9 @@ project('usurpation', 'c', license : 'LGPL2.1', - default_options : ['c_std=gnu11', 'buildtype=release'], + default_options : ['c_std=gnu11', 'buildtype=debug', 'warning_level=3'], meson_version : '>=0.49.0') -deps = [dependency('threads'), dependency('rin')] +deps = [dependency('threads'), dependency('rin'), dependency('glib-2.0', version : '>= 2.14'), dependency('purple')] progname = 'usurpd' resource_dir = join_paths(get_option('datadir'), progname) @@ -24,7 +24,7 @@ elif get_option('buildtype') == 'debugoptimized' verb = '3' endif -daemon = executable(progname, d_sources, version, include_directories : inc, install : true, dependencies : deps, extra_files : d_conf, c_args : '-DUSURP_VERBOSITY=' + verb) +daemon = executable(progname, d_sources, version, include_directories : inc, install : true, dependencies : deps, extra_files : d_conf, c_args : ['-DUSURP_VERBOSITY=' + verb, '-DSYSCONFDIR=' + get_option('sysconfdir')]) #install_data(extra, install_dir : resource_dir) install_data(d_conf, install_dir : get_option('sysconfdir')) |