Skip to content

Commit

Permalink
set HARU_PREFIX and haru package_info
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktarHasiul231862 committed Jun 23, 2023
1 parent 29d73c6 commit 71dda3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/wt/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ def generate(self):
tc.variables["ODBC_FOUND"] = True
if self.options.get_safe("with_unwind"):
tc.variables["UNWIND_PREFIX"] = self._cmakify_path_list(self.dependencies["libunwind"].package_folder)
if self.options.with_haru:
tc.variables["HARU_PREFIX"] = self._cmakify_path_list(self.dependencies["libharu"].package_folder)
if self.settings.os == "Windows":
tc.variables["CONNECTOR_FCGI"] = False
tc.variables["CONNECTOR_ISAPI"] = self.options.connector_isapi
Expand Down Expand Up @@ -300,6 +302,8 @@ def package_info(self):
self.cpp_info.components["wtmain"].requires.append("openssl::openssl")
if self.options.get_safe("with_unwind"):
self.cpp_info.components["wtmain"].requires.append("libunwind::libunwind")
if self.options.with_haru:
self.cpp_info.components["wtmain"].requires.append("libharu::libharu")

# wttest
if self.options.with_test:
Expand Down

0 comments on commit 71dda3a

Please sign in to comment.