From 2405c83da17eb2d9c4f5b5bc9be1543383de5408 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 26 Jul 2022 09:53:26 +0200 Subject: [PATCH] build(conan): Switched to `conan.tools.build.check_min_cppstd` --- conanfile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 3f6e399e..40eb99fa 100644 --- a/conanfile.py +++ b/conanfile.py @@ -25,12 +25,13 @@ import re from conan import ConanFile from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain +from conan.tools.build import check_min_cppstd from conan.tools.files import copy, load, rmdir from conan.tools.scm import Version from conans.errors import ConanInvalidConfiguration -# TODO replace with new tools for Conan 2.0 -from conans.tools import check_min_cppstd, get_env +# TODO remove when `CONAN_RUN_TESTS` will be replaced with a `[conf]` variable +from conans.tools import get_env required_conan_version = ">=1.50.0"