diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2020-01-05 15:08:17 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2020-01-05 15:08:17 +0100 |
| commit | 1e4cf62ee889302d429bb21cde090d2ef339b018 (patch) | |
| tree | 4dcd1eff8290e9a7c2e4bed28ff36007b8017690 | |
| parent | 397b62bb21e8f732c8c05a99590dec7acfe53fbc (diff) | |
| download | newtype-1e4cf62ee889302d429bb21cde090d2ef339b018.tar.xz newtype-1e4cf62ee889302d429bb21cde090d2ef339b018.zip | |
pkg: fix C++20 flag
| -rw-r--r-- | conanfile.py | 4 |
1 files 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 |
