From 2e5811521d929849d7a3b051754c6e888fd1a0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 17 Nov 2020 10:03:15 +0100 Subject: [PATCH] test: let's start getting ready for 2020 It'll be a wonderful year, I'm sure. --- src/systemd/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/systemd/meson.build b/src/systemd/meson.build index 5a8f1abcf6..c9c484b411 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -64,6 +64,9 @@ if add_languages('cpp', required : false) if cxx.has_argument('-std=c++17') opts += [['c++', '-std=c++17']] endif + if cxx.has_argument('-std=c++20') + opts += [['c++', '-std=c++20']] + endif endif foreach header : _systemd_headers + _not_installed_headers + [libudev_h_path]