Skip to content

Commit 59cd296

Browse files
committed
fix validation condition for 1.9.3
1 parent 8d0fd6f commit 59cd296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/cpr/all/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def validate(self):
152152
if self.options.shared and is_msvc(self) and is_msvc_static_runtime(self):
153153
raise ConanInvalidConfiguration("Visual Studio build for shared library with MT runtime is not supported")
154154

155-
if Version(self.version) == "1.9.0" and self.settings.compiler == "gcc" and Version(self.settings.compiler.version) < "6":
155+
if Version(self.version) >= "1.9.0" and self.settings.compiler == "gcc" and Version(self.settings.compiler.version) < "6":
156156
raise ConanInvalidConfiguration(f"{self.ref} doesn't support gcc < 6")
157157

158158
def source(self):

0 commit comments

Comments
 (0)