diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-08-19 11:58:52 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-08-19 11:58:52 +0200 |
| commit | b9b88ebf05fec3b60198dea011efe035e02bfb26 (patch) | |
| tree | 4a0e22e80c763d794834328d4c15a66a715d590d | |
| parent | f1ee987d5b84074744a5d1cccc833598a5b6312a (diff) | |
| download | wanda-b9b88ebf05fec3b60198dea011efe035e02bfb26.tar.xz wanda-b9b88ebf05fec3b60198dea011efe035e02bfb26.zip | |
conan: check for minimum C++ standard
| -rw-r--r-- | conanfile.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py index 51f32c7..7dd7706 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,6 +1,7 @@ import os from conan import ConanFile +from conan.tools.build import check_min_cppstd from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout @@ -114,3 +115,6 @@ class Wanda(ConanFile): self.cpp_info.components["wandad"].bindirs = [ os.path.join(self.package_folder, "bin") ] + + def validate(self): + check_min_cppstd(self, "20") |
