chore: explicitly link SDL2
TODO: What happens on Windows? macOS?
This commit is contained in:
parent
12e480f30d
commit
ceca3dd660
|
@ -76,6 +76,8 @@ pub fn link(exe: *std.Build.CompileStep, options: Options) void {
|
|||
exe.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_opengl3.cpp", cflags);
|
||||
},
|
||||
.sdl2_opengl3 => {
|
||||
exe.linkSystemLibrary("SDL2");
|
||||
|
||||
exe.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_sdl.cpp", cflags);
|
||||
exe.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_opengl3.cpp", cflags);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue