File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ class CppNetlib(ConanFile):
20
20
options = {
21
21
"shared" : [True , False ],
22
22
}
23
- no_copy_source = True
24
23
default_options = {
25
24
"shared" : False ,
26
25
}
26
+ generators = "CMakeDeps"
27
+ no_copy_source = True
27
28
requires = [
28
29
# CppNetlib does not work with a boost that is newer than 1.69
29
30
"boost/[>=1.65.0 <1.70]" ,
30
- "openssl/1.1.1g " ,
31
+ "openssl/1.1.1s " ,
31
32
]
32
33
33
34
def source (self ):
@@ -46,12 +47,8 @@ def generate(self):
46
47
tc .cache_variables ["CPP-NETLIB_ENABLE_HTTPS" ] = True
47
48
tc .cache_variables ["CPP-NETLIB_STATIC_BOOST" ] = True
48
49
tc .cache_variables ["CPP-NETLIB_STATIC_OPENSSL" ] = True
49
- tc .cache_variables ["Boost_NO_BOOST_CMAKE" ] = True
50
50
tc .generate ()
51
51
52
- deps = cmake .CMakeDeps (self )
53
- deps .generate ()
54
-
55
52
def build (self ):
56
53
cm = cmake .CMake (self )
57
54
#cm.configure(build_script_folder=self.recipe_folder + "/src")
You can’t perform that action at this time.
0 commit comments