From 7bc3b78c68642abd282c9ca9b26bde5e6dd0eaab Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 22 Feb 2014 23:54:19 +0200 Subject: Newest Boost requires C++11 to build. --- test cases/frameworks/1 boost/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test cases/frameworks') diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build index 896225fa9..33a5b5634 100644 --- a/test cases/frameworks/1 boost/meson.build +++ b/test cases/frameworks/1 boost/meson.build @@ -1,5 +1,9 @@ project('boosttest', 'cpp') +if meson.get_compiler('cpp').get_id() != 'msvc' + add_global_arguments('-std=c++11', language : 'cpp') +endif + # We want to have multiple separate configurations of Boost # within one project. The need to be independent of each other. # Use one without a library dependency and one with it. -- cgit v1.2.3