fix imgui vulkan backend (#1590)

pull/1591/head
Hoildkv 2 years ago committed by GitHub
parent c56afa5c89
commit ef8ebcd9d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/i/imgui/port/xmake.lua
  2. 1
      packages/i/imgui/xmake.lua

@ -22,7 +22,6 @@ end
if has_config("glfw_vulkan") then
add_requires("glfw")
add_requires("vulkansdk")
add_requires("vulkan-headers")
end
if has_config("sdl2") then
add_requires("libsdl >=2.0.17")
@ -63,7 +62,7 @@ target("imgui")
add_files("backends/imgui_impl_vulkan.cpp", "backends/imgui_impl_glfw.cpp")
add_headerfiles("backends/imgui_impl_vulkan.h", "backends/imgui_impl_glfw.h")
add_packages("glfw")
add_packages("vulkan-headers")
add_packages("vulkansdk")
end
if has_config("sdl2") then

@ -49,6 +49,7 @@ package("imgui")
end
if package:config("glfw_vulkan") then
package:add("deps", "glfw")
package:add("deps", "vulkansdk")
end
if package:config("sdl2") then
package:add("deps", "libsdl >=2.0.17")

Loading…
Cancel
Save