From 71dda3a63127a8ef7210e9d65e4869e905412ce2 Mon Sep 17 00:00:00 2001 From: Viktar Hasiul Date: Fri, 23 Jun 2023 13:06:11 +0200 Subject: [PATCH] set HARU_PREFIX and haru package_info --- recipes/wt/all/conanfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/wt/all/conanfile.py b/recipes/wt/all/conanfile.py index 10cead68cfb4c..f997394d3639a 100644 --- a/recipes/wt/all/conanfile.py +++ b/recipes/wt/all/conanfile.py @@ -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 @@ -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: