diff options
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | conanfile.py | 7 | ||||
| -rw-r--r-- | include/newtype/version.hpp | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 275877a..93f154e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION "3.9.0") project("newtype" - VERSION "1.0.0" + VERSION "1.0.1" LANGUAGES CXX DESCRIPTION "A library of types and functions to create strong type aliases" ) diff --git a/conanfile.py b/conanfile.py index 6fcbf48..51a159a 100644 --- a/conanfile.py +++ b/conanfile.py @@ -20,12 +20,13 @@ class NewtypeConan(ConanFile): "url": "https://github.com/fmorgner/newtype.git", "revision": "auto", } + settings = ("compiler",) version = get_version() license = "BSD-3-Clause" url = "https://github.com/fmorgner/newtype" description = "A library of types and functions to create strong type aliases" generators = "cmake" - requires = ( + build_requires = ( "CUTE/2.2.6@fmorgner/stable", "lyra/1.2.0" ) @@ -44,3 +45,7 @@ class NewtypeConan(ConanFile): def package(self): cmake = self._configure_cmake() 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 diff --git a/include/newtype/version.hpp b/include/newtype/version.hpp index c7c3314..be6e26e 100644 --- a/include/newtype/version.hpp +++ b/include/newtype/version.hpp @@ -14,7 +14,7 @@ namespace nt } version{ .major = 1, .minor = 0, - .patch = 0, + .patch = 1, .name = "Francesca", }; |
