chore: explicitly link SDL2
TODO: What happens on Windows? macOS?
This commit is contained in:
parent
78922b64ea
commit
55efe08bdf
|
@ -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);
|
||||
zgui_c_cpp.linkSystemLibrary("SDL2");
|
||||
},
|
||||
.no_backend => {},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue