From 4320e674c8053d8b997b87d08d844c414ea90f96 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 15 Nov 2021 19:17:18 +0100 Subject: [PATCH] build: `msvc` compiler validation fixed --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 19845e26..ecc599d2 100644 --- a/conanfile.py +++ b/conanfile.py @@ -103,7 +103,7 @@ class UnitsConan(ConanFile): if version < "16": raise ConanInvalidConfiguration("mp-units requires at least Visual Studio 16.9") elif compiler == "msvc": - if version < "19.28": + if version != "19.3" and version < "19.28": raise ConanInvalidConfiguration("mp-units requires at least MSVC 19.28") else: raise ConanInvalidConfiguration("Unsupported compiler")