Skip to content

Commit

Permalink
premake: fix package()
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Aug 15, 2023
1 parent 475b4cc commit a091f70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/premake/5.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ def package(self):
copy(self, "LICENSE.txt",
dst=os.path.join(self.package_folder, "licenses"),
src=self.source_folder)
copy(self, "*premake5*",
suffix = ".exe" if self.settings.os == "Windows" else ""
copy(self, f"*/premake5{suffix}",
dst=os.path.join(self.package_folder, "bin"),
src=os.path.join(self.source_folder, "bin", self._gmake_config),
src=os.path.join(self.source_folder, "bin"),
keep_path=False)
rm(self, "*.pdb", os.path.join(self.package_folder, "bin"))

def package_info(self):
self.cpp_info.frameworkdirs = []
Expand Down

0 comments on commit a091f70

Please sign in to comment.