summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-02-01 08:09:07 -0500
committerEli Schwartz <eschwartz93@gmail.com>2024-02-01 10:25:27 -0500
commitcb54f0d707e5673eb1d8aaafae59a6d5fde25e18 (patch)
treefaac4b3e6d01a95e77289205c3a2b2c80d9a0484 /test cases
parentb50dd0607d7731308533538efce134a2bde077a2 (diff)
downloadmeson-cb54f0d707e5673eb1d8aaafae59a6d5fde25e18.tar.gz
test cases: pass the c++11 std to boost-using code
Apple Clang defaults to C++03 or earlier, and boost 1.84 has started requiring C++11 as a minimum. Fixes test failures on the macOS builders. Unneeded for GCC systems since GCC defaults to a more recent std -- but also semantically correct there too.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/219 include_type dependency/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/219 include_type dependency/meson.build b/test cases/common/219 include_type dependency/meson.build
index 678fb4edf..9d5d91a37 100644
--- a/test cases/common/219 include_type dependency/meson.build
+++ b/test cases/common/219 include_type dependency/meson.build
@@ -1,6 +1,7 @@
project(
'dependency include_type',
['c', 'cpp'],
+ default_options: ['cpp_std=c++11'],
)
dep = dependency('zlib', method: 'pkg-config', required : false)