Skip to content

Commit

Permalink
add moltenVk on MacOs, when building with_vulkan=True
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Aug 24, 2021
1 parent aa5f5ea commit caa4ca1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ def requirements(self):
self.requires("pcre2/10.36")
if self.options.get_safe("with_vulkan"):
self.requires("vulkan-loader/1.2.172")
if tools.is_apple_os(self.settings.os):
self.requires("moltenvk/1.1.1")

if self.options.with_glib:
self.requires("glib/2.68.3")
Expand Down Expand Up @@ -746,6 +748,8 @@ def _create_plugin(pluginname, libname, type, requires):
gui_reqs.append("opengl::opengl")
if self.options.get_safe("with_vulkan", False):
gui_reqs.append("vulkan-loader::vulkan-loader")
if tools.is_apple_os(self.settings.os):
gui_reqs.append("moltenvk::moltenvk")
if self.options.with_harfbuzz:
gui_reqs.append("harfbuzz::harfbuzz")
if self.options.with_libjpeg == "libjpeg-turbo":
Expand Down

0 comments on commit caa4ca1

Please sign in to comment.