chore: explicitly link SDL2
TODO: What happens on Windows? macOS?
This commit is contained in:
parent
78922b64ea
commit
bd7ee320d7
|
@ -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 => {},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue