File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11sources :
2+ " 1.3.0.latest " :
3+ url : " https://github.com/oatpp/oatpp-openssl/archive/1.3.0-latest.tar.gz"
4+ sha256 : " fed9f8df089653193883e0174ddd0b87f50175a4eb143bd9e418d144b68f9182"
25 " 1.3.0 " :
36 url : " https://github.com/oatpp/oatpp-openssl/archive/1.3.0.tar.gz"
47 sha256 : " add694cf6294e5cd8b8f4681e0425802f01d798b9d17e29cdb865448a6aa81c8"
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ class OatppOpenSSLConan(ConanFile):
3131
3232 implements = ["auto_shared_fpic" ]
3333
34+ @property
35+ def _version (self ):
36+ return self .version .split (".latest" )[0 ]
37+
3438 def layout (self ):
3539 cmake_layout (self , src_folder = "src" )
3640
@@ -79,11 +83,11 @@ def package_info(self):
7983
8084 # TODO: back to global scope in conan v2 once legacy generators removed
8185 self .cpp_info .components ["_oatpp-openssl" ].includedirs = [
82- os .path .join ("include" , f"oatpp-{ self .version } " , "oatpp-openssl" )
86+ os .path .join ("include" , f"oatpp-{ self ._version } " , "oatpp-openssl" )
8387 ]
84- self .cpp_info .components ["_oatpp-openssl" ].libdirs = [os .path .join ("lib" , f"oatpp-{ self .version } " )]
88+ self .cpp_info .components ["_oatpp-openssl" ].libdirs = [os .path .join ("lib" , f"oatpp-{ self ._version } " )]
8589 if self .settings .os == "Windows" and self .options .shared :
86- self .cpp_info .components ["_oatpp-openssl" ].bindirs = [os .path .join ("bin" , f"oatpp-{ self .version } " )]
90+ self .cpp_info .components ["_oatpp-openssl" ].bindirs = [os .path .join ("bin" , f"oatpp-{ self ._version } " )]
8791 else :
8892 self .cpp_info .components ["_oatpp-openssl" ].bindirs = []
8993 self .cpp_info .components ["_oatpp-openssl" ].libs = ["oatpp-openssl" ]
Original file line number Diff line number Diff line change 11versions :
2+ " 1.3.0.latest " :
3+ folder : all
24 " 1.3.0 " :
35 folder : all
46 " 1.2.5 " :
You can’t perform that action at this time.
0 commit comments