Skip to content

Commit

Permalink
zziplib: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
intelligide committed Aug 7, 2020
1 parent 957fa80 commit 6e729db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/zziplib/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ def build(self):
cmake.build()

def package(self):
self.copy(pattern="COPYING.LIB", dst="licenses", src=self._source_subfolder)
os.rename(os.path.join(self.package_folder, "licenses", "COPYING.LIB"), os.path.join(self.package_folder, "licenses", "License.txt"))
cmake = self._configure_cmake()
cmake.install()

self.copy(pattern="COPYING.LIB", dst="licenses", src=self._source_subfolder)
os.rename(os.path.join(self.package_folder, "licenses", "COPYING.LIB"), os.path.join(self.package_folder, "licenses", "License.txt"))
tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))

def package_info(self):
self.cpp_info.libs = tools.collect_libs(self)

0 comments on commit 6e729db

Please sign in to comment.