Skip to content

Commit

Permalink
dont require non needed deps when multiconfiguration is set to True
Browse files Browse the repository at this point in the history
  • Loading branch information
wboussafa committed Jul 7, 2022
1 parent df1fb26 commit f77a035
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions recipes/qt/5.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,24 +354,24 @@ def requirements(self):
self.requires("glib/2.72.0")
# if self.options.with_libiconv: # QTBUG-84708
# self.requires("libiconv/1.16")# QTBUG-84708
if self.options.with_doubleconversion:
if self.options.with_doubleconversion and not self.options.multiconfiguration:
self.requires("double-conversion/3.2.0")
if self.options.get_safe("with_freetype", False):
if self.options.get_safe("with_freetype", False) and not self.options.multiconfiguration:
self.requires("freetype/2.11.1")
if self.options.get_safe("with_fontconfig", False):
self.requires("fontconfig/2.13.93")
if self.options.get_safe("with_icu", False):
self.requires("icu/71.1")
if self.options.get_safe("with_harfbuzz", False):
if self.options.get_safe("with_harfbuzz", False) and not self.options.multiconfiguration:
self.requires("harfbuzz/4.2.0")
if self.options.get_safe("with_libjpeg", False):
if self.options.get_safe("with_libjpeg", False) and not self.options.multiconfiguration:
if self.options.with_libjpeg == "libjpeg-turbo":
self.requires("libjpeg-turbo/2.1.2")
else:
self.requires("libjpeg/9d")
if self.options.get_safe("with_libpng", False):
if self.options.get_safe("with_libpng", False) and not self.options.multiconfiguration:
self.requires("libpng/1.6.37")
if self.options.with_sqlite3:
if self.options.with_sqlite3 and not self.options.multiconfiguration:
self.requires("sqlite3/3.38.1")
self.options["sqlite3"].enable_column_metadata = True
if self.options.get_safe("with_mysql", False):
Expand Down

0 comments on commit f77a035

Please sign in to comment.