Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtomcrypt: added v1.18.2 #9066

Closed
wants to merge 8 commits into from
4 changes: 3 additions & 1 deletion recipes/libtomcrypt/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ def package(self):

def package_info(self):
self.cpp_info.libs = ["tomcrypt"]
self.cpp_info.set_property("pkg_config_name", "libtomcrypt")
if not self.options.shared:
if self.settings.os == "Windows":
self.cpp_info.system_libs = ["advapi32", "crypt32"]

self.cpp_info.names["pkg_config"] = "libtomcrypt"
# TODO: to remove in conan v2 once pkg_config generators removed
self.cpp_info.names["pkg_config"] = "tomcrypt"