Skip to content

Commit

Permalink
Update WVDATADIR setting in odrcore
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 25, 2024
1 parent 38eb9b0 commit ec3d746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/odrcore/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ec3d746

Please sign in to comment.