aboutsummaryrefslogtreecommitdiff
path: root/common/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-03-27 15:25:25 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-03-27 15:25:25 -0400
commitbd8993dfd6488a878b13a97ec19dd357f697c3e2 (patch)
treecbd9d4e4e3a7c605d2b0a5e3e66ce35554a74c4b /common/meson.build
parent2a4ddaa7d5aa90f4ad6d4f863bc92f8b74be06f3 (diff)
Add solid-color rendering to swaybg
Diffstat (limited to 'common/meson.build')
-rw-r--r--common/meson.build21
1 files changed, 16 insertions, 5 deletions
diff --git a/common/meson.build b/common/meson.build
index abe0cdcf..01736ca6 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -1,12 +1,23 @@
-lib_sway_common = static_library('sway-common',
+deps = [
+ cairo,
+ wlroots
+]
+
+if gdk_pixbuf.found()
+ deps += [gdk_pixbuf]
+endif
+
+lib_sway_common = static_library(
+ 'sway-common',
files(
+ 'cairo.c',
+ 'ipc-client.c',
'log.c',
'list.c',
- 'util.c',
- 'stringop.c',
'readline.c',
- 'ipc-client.c'
+ 'stringop.c',
+ 'util.c'
),
- dependencies: [ wlroots ],
+ dependencies: deps,
include_directories: sway_inc
)