Skip to content

Commit

Permalink
Update odrcore recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 25, 2024
1 parent ec3d746 commit 48f3df6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions recipes/odrcore/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,15 @@ def build(self):
cmake.build()

def package(self):
copy(
self,
"*.hpp",
src=os.path.join(self.recipe_folder, "src"),
dst=os.path.join(self.export_sources_folder, "include"),
)
# Not needed with CMake changes in 4.1.0-pdf2htmlex-git
# Other versions may not need it too
if self.version != "4.1.0-pdf2htmlex-git":
copy(
self,
"*.hpp",
src=os.path.join(self.recipe_folder, "src"),
dst=os.path.join(self.export_sources_folder, "include"),
)

cmake = CMake(self)
cmake.install()
Expand Down

0 comments on commit 48f3df6

Please sign in to comment.