From 6181b87e31c672f0351c5ff3bddb3b22153cb9b6 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Tue, 7 Jan 2020 14:35:58 -0300 Subject: [PATCH] Remove name for libarchive Signed-off-by: Uilian Ries --- recipes/libarchive/all/conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/libarchive/all/conanfile.py b/recipes/libarchive/all/conanfile.py index 43f84bd079a55..f3d4bd0bffd3a 100644 --- a/recipes/libarchive/all/conanfile.py +++ b/recipes/libarchive/all/conanfile.py @@ -182,6 +182,7 @@ def package(self): def package_info(self): self.cpp_info.libs = tools.collect_libs(self) - self.cpp_info.name = "LibArchive" + self.cpp_info.names["cmake_find_package"] = "LibArchive" + self.cpp_info.names["cmake_find_package_multi"] = "LibArchive" if self.settings.compiler == "Visual Studio" and not self.options.shared: self.cpp_info.defines = ["LIBARCHIVE_STATIC"]