From 9abdc6ce02b11cb9d534484f231641e8a56706d7 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 7 Apr 2017 12:24:36 +0200 Subject: [PATCH] Move to c++11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Zimlib move to c++11 and so, we need a c++11 compiler. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 19fce8c4..f89ce8e6 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,7 @@ project('kiwixlib', 'cpp', version : '0.1.0', - license : 'GPL') + license : 'GPL', + default_options : ['c_std=c11', 'cpp_std=c++11']) compiler = meson.get_compiler('cpp') find_library_in_compiler = meson.version().version_compare('>=0.31.0')