From b0c09e9b048c86c343428a15d1910181328a185c Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Tue, 7 Jan 2020 14:27:51 -0300 Subject: [PATCH] Remove name for leptonica Signed-off-by: Uilian Ries --- recipes/leptonica/all/conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/leptonica/all/conanfile.py b/recipes/leptonica/all/conanfile.py index 1f149c0d1b499..49bb76c4bd2ac 100644 --- a/recipes/leptonica/all/conanfile.py +++ b/recipes/leptonica/all/conanfile.py @@ -113,5 +113,6 @@ def package_info(self): self.cpp_info.libs = tools.collect_libs(self) if self.settings.os == "Linux": self.cpp_info.system_libs = ["m"] - self.cpp_info.name = 'Leptonica' + self.cpp_info.names["cmake_find_package"] = "Leptonica" + self.cpp_info.names["cmake_find_package_multi"] = "Leptonica" self.cpp_info.names['pkg_config'] = 'lept'