aboutsummaryrefslogtreecommitdiff
path: root/conanfile.py
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2020-01-05 15:10:43 +0100
committerFelix Morgner <felix.morgner@gmail.com>2020-01-05 15:10:43 +0100
commit467feab6838f5688680def7ca75fac034e1d5a6b (patch)
treee1f05bce28b6004ce2e92b7cb751b692ec316c5d /conanfile.py
parentc00d0f0ff482eb439ec73fc7a639debe6014572e (diff)
parentf00fb5779dcf2443b74d114093afbbd2441523ad (diff)
downloadnewtype-467feab6838f5688680def7ca75fac034e1d5a6b.tar.xz
newtype-467feab6838f5688680def7ca75fac034e1d5a6b.zip
Merge tag 'v1.0.2' into develop
newtype 1.0.2 - Francesca.2 Conan Package: fix C++ standard version flag for GCC
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py4
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