Skip to content

Commit

Permalink
imgui: add transitive vulkan-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 23, 2024
1 parent 2e48952 commit 3746762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/imgui/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def requirements(self):
# elif self.options.get_safe("backend_sdlrenderer3"):
# self.requires("sdl/3.x")
if self.options.get_safe("backend_vulkan"):
self.requires("vulkan-headers/1.3.290.0", transitive_headers=True)
self.requires("vulkan-loader/1.3.290.0")
if self.options.get_safe("backend_glfw") and self.settings.os != "Emscripten":
self.requires("glfw/3.4")
Expand Down Expand Up @@ -292,7 +293,7 @@ def _add_binding(name, requires=None, system_libs=None, frameworks=None):
_add_binding("sdl2", requires=["sdl::sdl"])
_add_binding("sdlrenderer2", requires=["sdl::sdl"])
# _add_binding("sdlrenderer3", requires=["sdl::sdl"])
_add_binding("vulkan", requires=["vulkan-loader::vulkan-loader"])
_add_binding("vulkan", requires=["vulkan-headers::vulkan-headers", "vulkan-loader::vulkan-loader"])
_add_binding("win32", system_libs=["dwmapi", "xinput"])
# _add_binding("wgpu", requires=["dawn::dawn"])

Expand Down

0 comments on commit 3746762

Please sign in to comment.