build: switch to C++20

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie6f4ce72461411cb39b7fb7cb8398589771e210d
diff --git a/meson.build b/meson.build
index 97518b1..a102a3f 100644
--- a/meson.build
+++ b/meson.build
@@ -5,10 +5,11 @@
      default_options: [
        'warning_level=3',
        'werror=true',
-       'cpp_std=c++17',
+       'cpp_std=c++20',
        'buildtype=debugoptimized'
      ],
-     version: '1.0'
+     version: '1.0',
+     meson_version: '>=0.57.0',
 )
 
 add_global_arguments('-Wno-psabi', language : ['c', 'cpp'])