Commit 9802805 1 parent f13f053 commit 9802805 Copy full SHA for 9802805
File tree 1 file changed +3
-2
lines changed
recipes/gamenetworkingsockets/all
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ def validate(self):
53
53
if self .options .encryption == "bcrypt" and self .settings .os != "Windows" :
54
54
raise ConanInvalidConfiguration ("bcrypt is only valid on Windows" )
55
55
56
- if self .options .encryption == "openssl" and "openssl" in self .deps_cpp_info .deps and tools .Version (self .deps_cpp_info ["openssl" ].version ) < "1.1.1" :
57
- raise ConanInvalidConfiguration ("{} requires OpenSSL 1.1.1 or newer" .format (self .name ))
58
56
59
57
def build_requirements (self ):
60
58
self .build_requires ("protobuf/3.17.1" )
@@ -74,6 +72,9 @@ def _patch_sources(self):
74
72
tools .patch (** patch )
75
73
76
74
def build (self ):
75
+ if self .options .encryption == "openssl" and "openssl" in self .deps_cpp_info .deps and tools .Version (self .deps_cpp_info ["openssl" ].version ) < "1.1.1" :
76
+ raise ConanInvalidConfiguration ("{} requires OpenSSL 1.1.1 or newer" .format (self .name ))
77
+
77
78
self ._patch_sources ()
78
79
cmake = self ._configure_cmake ()
79
80
cmake .build ()
You can’t perform that action at this time.
0 commit comments