From 1e4cf62ee889302d429bb21cde090d2ef339b018 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 5 Jan 2020 15:08:17 +0100 Subject: pkg: fix C++20 flag --- conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 51a159a..8b3e147 100644 --- a/conanfile.py +++ b/conanfile.py @@ -47,5 +47,5 @@ class NewtypeConan(ConanFile): cmake.install() def package_info(self): - if self.settings.compiler in ["gcc", "clang"]: - self.cpp_info.cxxflags = "-std=c++20" \ No newline at end of file + if self.settings.compiler in ["gcc"]: + self.cpp_info.cxxflags.append("-std=c++2a") \ No newline at end of file -- cgit v1.2.3