From a6a2549fe7c075289913f8fe0b75a445ee27da67 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 13 Dec 2021 12:29:01 +0100 Subject: [PATCH] build: MSVC versioning updated according to the latest Conan support --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 7b66b612..7bddf441 100644 --- a/conanfile.py +++ b/conanfile.py @@ -104,7 +104,7 @@ class UnitsConan(ConanFile): if version < "16": raise ConanInvalidConfiguration("mp-units requires at least Visual Studio 16.9") elif compiler == "msvc": - if version != "19.3" and version < "19.28": + if version < "1928": raise ConanInvalidConfiguration("mp-units requires at least MSVC 19.28") else: raise ConanInvalidConfiguration("Unsupported compiler")