chore: move thing

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-03-26 20:58:01 -05:00
parent 70d7c0dc02
commit 0b90028b52
1 changed files with 2 additions and 1 deletions

View File

@ -105,9 +105,10 @@ pub fn package(
zgui_c_cpp.linkSystemLibraryName("dwmapi"); zgui_c_cpp.linkSystemLibraryName("dwmapi");
}, },
.sdl2_opengl3 => { .sdl2_opengl3 => {
zgui_c_cpp.linkSystemLibrary("SDL2");
zgui_c_cpp.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_sdl.cpp", cflags); 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.addCSourceFile(thisDir() ++ "/libs/imgui/backends/imgui_impl_opengl3.cpp", cflags);
zgui_c_cpp.linkSystemLibrary("SDL2");
}, },
.no_backend => {}, .no_backend => {},
} }