Skip to content

Commit

Permalink
Fix option checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Jun 24, 2023
1 parent f8d08f8 commit d966522
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions recipes/pango/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ def layout(self):
basic_layout(self, src_folder="src")

def requirements(self):
if self.options.with_freetype:
if self.options.get_safe("with_freetype", False):
self.requires("freetype/2.13.0")

if self.options.with_fontconfig:
if self.options.get_safe("with_fontconfig", False):
self.requires("fontconfig/2.14.2")
if self.options.with_xft:
if self.options.get_safe("with_xft", False):
self.requires("libxft/2.3.6")
if (
self.options.with_xft
and self.options.with_fontconfig
and self.options.with_freetype
self.options.get_safe("with_xft", False)
and self.options.get_safe("with_fontconfig", False)
and self.options.get_safe("with_freetype", False)
):
self.requires("xorg/system") # for xorg::xrender
if self.options.with_cairo:
Expand Down

0 comments on commit d966522

Please sign in to comment.