diff --git a/build.zig b/build.zig index 50f3e3c..d6ab6ef 100644 --- a/build.zig +++ b/build.zig @@ -107,6 +107,7 @@ pub fn package( .sdl2_opengl3 => { zgui_c_cpp.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_sdl.cpp", cflags); zgui_c_cpp.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_opengl3.cpp", cflags); + exe.linkSystemLibrary("SDL2"); }, .no_backend => {}, }