aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 12:21:50 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 14:43:23 -0400
commitd39bda76c4007c42452a81883fefc671b816a74b (patch)
tree509a9c669bf2679085e27a1ff1b0c95526abf14c /meson.build
parent653853062f15639c97d02a8d67443506ce3af69d (diff)
Address review comments
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0c35b0e5..b681f43a 100644
--- a/meson.build
+++ b/meson.build
@@ -38,8 +38,10 @@ math = cc.find_library('m')
git = find_program('git', required: false)
a2x = find_program('a2x', required: false)
+conf_data = configuration_data()
+
if gdk_pixbuf.found()
- add_project_arguments('-DWITH_GDK_PIXBUF', language : 'c')
+ conf_data.set('HAVE_GDK_PIXBUF', true)
endif
if a2x.found()
@@ -92,6 +94,7 @@ add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
sway_inc = include_directories('include')
+subdir('include')
subdir('protocols')
subdir('common')
subdir('sway')