diff options
author | Nicole Mazzuca <npmazzuca@gmail.com> | 2018-10-25 21:30:22 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-10-27 16:09:38 +0300 |
commit | 3dd9c1857525bfa7020b4dd8a94bbf0a22939f99 (patch) | |
tree | d86f8150c1cd0f03ea3ba3b481bf19dd7faa57b9 | |
parent | d5bf869dec5f456337174e999b9e5d42f30178c3 (diff) | |
download | meson-3dd9c1857525bfa7020b4dd8a94bbf0a22939f99.zip meson-3dd9c1857525bfa7020b4dd8a94bbf0a22939f99.tar.gz meson-3dd9c1857525bfa7020b4dd8a94bbf0a22939f99.tar.bz2 |
add -permissive to the boost test
-rw-r--r-- | test cases/frameworks/1 boost/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build index d1e1da4..1d29455 100644 --- a/test cases/frameworks/1 boost/meson.build +++ b/test cases/frameworks/1 boost/meson.build @@ -10,6 +10,12 @@ if not dep.found() error('MESON_SKIP_TEST boost not found.') endif +compiler = meson.get_compiler('cpp') +if compiler.has_argument('-permissive') + # boost 1.64, the version we test against, doesn't work with -permissive + add_project_arguments('-permissive', 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. |