Skip to content

Commit

Permalink
Install all headers for pdf2htmlEX (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand authored Sep 16, 2024
1 parent d704c26 commit 2ec6c47
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion recipes/pdf2htmlex/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def validate(self):
'Dependency "fontforge" needs to be built with "install_private_headers" option')

def layout(self):
cmake_layout(self)
cmake_layout(self, src_folder="src")

def generate(self):
deps = CMakeDeps(self)
Expand Down Expand Up @@ -120,6 +120,13 @@ def package(self):
copy(self, "LICENSE*", src=os.path.join(self.source_folder, "pdf2htmlEX", "logo"),
dst=os.path.join(licensedir, "logo"))

copy(
self,
"*.h",
src=os.path.join(self.source_folder, "pdf2htmlEX", "src"),
dst=os.path.join(self.package_folder, "include", "pdf2htmlEX"),
)

cmake = CMake(self)
cmake.install()

Expand Down

0 comments on commit 2ec6c47

Please sign in to comment.