From 5233c87b440afaf7914ab749712cce14c52c913f Mon Sep 17 00:00:00 2001 From: Mark Meredith Date: Wed, 15 Jul 2020 11:36:43 -0400 Subject: [PATCH] Set C++17 as default --- meson.build | 2 +- src/csg/meson.build | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index cc7f470..9af8698 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( version : '0.1', default_options : [ 'warning_level=1', - 'cpp_std=c++2a' + 'cpp_std=c++17' ] ) diff --git a/src/csg/meson.build b/src/csg/meson.build index d346176..e84bb74 100644 --- a/src/csg/meson.build +++ b/src/csg/meson.build @@ -11,6 +11,4 @@ lib_csg_parser = static_library('csg-parser', dependencies: [pegtl, cgal], install : true) -if get_option('cpp_std')=='c++2a' - subdir('tests') -endif +subdir('tests') -- GitLab