Skip to content

Commit

Permalink
test cases: pass the c++11 std to boost-using code
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eli-schwartz committed Feb 1, 2024
1 parent b50dd06 commit cb54f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test cases/common/219 include_type dependency/meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
project(
'dependency include_type',
['c', 'cpp'],
default_options: ['cpp_std=c++11'],
)

dep = dependency('zlib', method: 'pkg-config', required : false)
Expand Down

0 comments on commit cb54f0d

Please sign in to comment.