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"]