1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-08 23:44:19 +00:00

Premake: Only build example_sdl2_vulkan with both sdl2 and vulkan (7852)

This commit is contained in:
Mark Jansen 2024-08-06 14:41:40 +02:00 committed by ocornut
parent bd429ad404
commit f71a64f1e7

View file

@ -304,7 +304,7 @@ if (_OPTIONS["with-sdl2"]) then
end
-- example_sdl2_vulkan (SDL2 + Vulkan)
if (_OPTIONS["with-vulkan"]) then
if (_OPTIONS["with-sdl2"] and _OPTIONS["with-vulkan"]) then
project "example_sdl2_vulkan"
kind "ConsoleApp"
imgui_as_src ("..", "imgui")