From ec3d746983ea5788c6971ff071ad6adafb969896 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Sun, 25 Aug 2024 17:31:13 +0300 Subject: [PATCH] Update WVDATADIR setting in odrcore --- recipes/odrcore/all/conanfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/odrcore/all/conanfile.py b/recipes/odrcore/all/conanfile.py index 5e1e9e5..4cf2cf1 100644 --- a/recipes/odrcore/all/conanfile.py +++ b/recipes/odrcore/all/conanfile.py @@ -94,6 +94,8 @@ def generate(self): tc.variables["ODR_TEST"] = False tc.variables["WITH_PDF2HTMLEX"] = self.options.get_safe("with_pdf2htmlEX", False) tc.variables["WITH_WVWARE"] = self.options.get_safe("with_wvWare", False) + if self.options.get_safe("with_wvWare", False): + tc.variables["WVDATADIR"] = self.dependencies['wvware'].cpp_info.resdirs[0] if Version(self.version) <= "4.0.0": tc.variables["CONAN_EXPORTED"] = True tc.generate()