diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-20 03:10:55 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-21 20:17:21 +0530 |
commit | d9c31d4a243f167b75dde4122260ead27aa0d69a (patch) | |
tree | 005c6e717670437ddd9899a5e4c4e8ff70ecb0c2 | |
parent | f71136b89e38a90d7391a410daab818a8e1157ac (diff) | |
download | meson-d9c31d4a243f167b75dde4122260ead27aa0d69a.zip meson-d9c31d4a243f167b75dde4122260ead27aa0d69a.tar.gz meson-d9c31d4a243f167b75dde4122260ead27aa0d69a.tar.bz2 |
tests/4 qt: Force the use of -std=c++11
Qt5 now requires this, and if no -std option is passed to clang, it does
not enable C++ 11 features and we get a build failures.
-rw-r--r-- | test cases/frameworks/4 qt/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index 4523bab..fec5959 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -1,4 +1,6 @@ -project('qt4 and 5 build test', 'cpp') +project('qt4 and 5 build test', 'cpp', + # Qt5 now requires C++ 11 support + default_options : ['cpp_std=c++11']) qt5_modules = ['Widgets'] foreach qt : ['qt4', 'qt5'] |