mirror of https://gitlab.freedesktop.org/mesa/mesa
meson: set C++ standard to C++11
RadeonSI requires C++11, clover requires C++11, LLVM requires it, so llvmpipe may require it, and that covers most of the C++ code in mesa. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
af867d72c6
commit
052c0d5eda
|
@ -19,7 +19,7 @@
|
|||
# SOFTWARE.
|
||||
|
||||
project('mesa', ['c', 'cpp'], version : '17.3.0-devel', license : 'MIT',
|
||||
default_options : ['c_std=c99'])
|
||||
default_options : ['c_std=c99', 'cpp_std=c++11'])
|
||||
|
||||
with_dri3 = true # XXX: need a switch for this
|
||||
with_vulkan_icd_dir = get_option('vulkan-icd-dir')
|
||||
|
|
Loading…
Reference in New Issue