summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-08-11 19:59:56 +0100
committerRichard Hughes <richard@hughsie.com>2017-08-12 13:59:22 +0100
commitb5436b49d7d24b536d524b84ef07bf867352dc87 (patch)
tree48c8e4cac10622bcbd178c486ef50c0e608fa452
parent419fdf4d480bef5c8cb813ab3f4c931aeffe2413 (diff)
downloadcolord-b5436b49d7d24b536d524b84ef07bf867352dc87.tar.gz
build: Enable C99 support in meson.build
We use C99 features (cd-spectrum.c:760), so need to explicitly enable them in meson.build, as some compilers will not enable them automatically, and will instead error when they encounter usage of C99. Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e6ae315..fa3ea62 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,8 @@
project('colord', 'c',
version : '1.4.1',
license : 'LGPL-2.1+',
- meson_version : '>=0.37.0'
+ meson_version : '>=0.37.0',
+ default_options : ['c_std=c99']
)
colord_version = meson.project_version()