Browse Source

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

features/premake5
Mark Jansen 3 months ago
committed by ocornut
parent
commit
6453a3bb16
  1. 2
      examples/premake5.lua

2
examples/premake5.lua

@ -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")

Loading…
Cancel
Save