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 From 9cf9b3a363fefca5aff71b862064b9d15267ef36 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 5 Jan 2020 15:08:49 +0100 Subject: newtype: bump version to 1.0.2 --- CMakeLists.txt | 2 +- include/newtype/version.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93f154e..ba03c5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION "3.9.0") project("newtype" - VERSION "1.0.1" + VERSION "1.0.2" LANGUAGES CXX DESCRIPTION "A library of types and functions to create strong type aliases" ) diff --git a/include/newtype/version.hpp b/include/newtype/version.hpp index be6e26e..b2dd19b 100644 --- a/include/newtype/version.hpp +++ b/include/newtype/version.hpp @@ -14,7 +14,7 @@ namespace nt } version{ .major = 1, .minor = 0, - .patch = 1, + .patch = 2, .name = "Francesca", }; -- cgit v1.2.3