diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 0d0f7339..766bf012 100644 --- a/meson.build +++ b/meson.build | |||
@@ -12,6 +12,8 @@ project( | |||
12 | 12 | ||
13 | add_project_arguments( | 13 | add_project_arguments( |
14 | [ | 14 | [ |
15 | '-DSWAY_SRC_DIR="@0@"'.format(meson.current_source_dir()), | ||
16 | |||
15 | '-DWL_HIDE_DEPRECATED', | 17 | '-DWL_HIDE_DEPRECATED', |
16 | '-DWLR_USE_UNSTABLE', | 18 | '-DWLR_USE_UNSTABLE', |
17 | 19 | ||
@@ -49,8 +51,8 @@ gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf') | |||
49 | pixman = dependency('pixman-1') | 51 | pixman = dependency('pixman-1') |
50 | libevdev = dependency('libevdev') | 52 | libevdev = dependency('libevdev') |
51 | libinput = dependency('libinput', version: '>=1.6.0') | 53 | libinput = dependency('libinput', version: '>=1.6.0') |
52 | systemd = dependency('libsystemd', required: false) | 54 | systemd = dependency('libsystemd', version: '>=239', required: false) |
53 | elogind = dependency('libelogind', required: false) | 55 | elogind = dependency('libelogind', version: '>=239', required: false) |
54 | xcb = dependency('xcb', required: get_option('xwayland')) | 56 | xcb = dependency('xcb', required: get_option('xwayland')) |
55 | math = cc.find_library('m') | 57 | math = cc.find_library('m') |
56 | rt = cc.find_library('rt') | 58 | rt = cc.find_library('rt') |