Skip to content

Commit

Permalink
Merge pull request #607 from uilianries/libarchive/names
Browse files Browse the repository at this point in the history
Remove name for libarchive
  • Loading branch information
danimtb authored Jan 8, 2020
2 parents 74746fb + 6181b87 commit 270f33a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/libarchive/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 270f33a

Please sign in to comment.