From 895b75b18f5870b89e33be9560b2af0a4564efb0 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Tue, 6 Aug 2024 14:41:40 +0200 Subject: [PATCH] Premake: Only build example_sdl2_vulkan with both sdl2 and vulkan (#7852) --- examples/premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/premake5.lua b/examples/premake5.lua index 4852ea41d..9e080b813 100644 --- a/examples/premake5.lua +++ b/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")