summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-04-18 14:25:44 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 15:10:56 +0100
commit3f4cc06ee346046260eb83f2d15f760775cfe616 (patch)
tree28c57586bebc665a0362484e3d4a63fd31b834fa /meson.build
parent007d9a5e19d8b3c89f7f6afdf640cae041c314b5 (diff)
downloadgtk+-3f4cc06ee346046260eb83f2d15f760775cfe616.tar.gz
build: Some whitespace cleanups
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build13
1 files changed, 6 insertions, 7 deletions
diff --git a/meson.build b/meson.build
index ca20b0e8c7..0ac6d4448e 100644
--- a/meson.build
+++ b/meson.build
@@ -141,7 +141,7 @@ foreach h : check_headers
endforeach
# Maths functions might be implemented in libm
-libm = cc.find_library('m', required : false)
+libm = cc.find_library('m', required: false)
check_functions = [
'dcgettext',
@@ -163,7 +163,7 @@ check_functions = [
]
foreach func : check_functions
- if cc.has_function(func, dependencies : libm)
+ if cc.has_function(func, dependencies: libm)
cdata.set('HAVE_' + func.underscorify().to_upper(), 1)
endif
endforeach
@@ -214,7 +214,7 @@ foreach backend : [['cairo-xlib', x11_enabled],
['cairo-quartz', quartz_enabled],
['cairo', broadway_enabled or wayland_enabled or mir_enabled]]
if backend[1]
- dependency(backend[0], version : cairo_req)
+ dependency(backend[0], version: cairo_req)
cairo_backends += [backend[0]]
endif
endforeach
@@ -386,10 +386,9 @@ subdir('examples')
# config.h
-configure_file(
- input : 'config.h.meson',
- output: 'config.h',
- configuration: cdata)
+configure_file(input: 'config.h.meson',
+ output: 'config.h',
+ configuration: cdata)
# pkg-config files - bit of a mess all of this