aco: use c++17

std::map::try_emplace requires C++17, so we need to make sure we're
compiling with C++17 enabled.

Fixes: 8aff7152a0 ("aco: make IDSet sparse")
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047>
This commit is contained in:
Erik Faye-Lund 2023-05-16 10:05:03 +02:00 committed by Marge Bot
parent 04699cc3aa
commit df1d1ccb37

View file

@ -96,6 +96,7 @@ _libaco = static_library(
gnu_symbol_visibility : 'hidden',
build_by_default : true,
cpp_args : [cpp_args_aco, cpp_msvc_compat_args],
override_options: ['cpp_std=c++17'],
)
# Also link with aco