From 378be743f8737f32fb724419beae3dc15ddd5463 Mon Sep 17 00:00:00 2001 From: Vladyslav Baranovskyi Date: Sun, 26 May 2024 23:16:46 +0300 Subject: [PATCH] Fixed linker errors of imgui backend on windows --- examples/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/main.cpp b/examples/main.cpp index acc1b76..6898890 100644 --- a/examples/main.cpp +++ b/examples/main.cpp @@ -7,6 +7,11 @@ #include "Host/GraphicsAppManager.hpp" #include "ExampleApps/CubesExampleApp.hpp" +// NOTE(vb): I couldn't find a way of linking with imgui_glfw using CMake +#ifdef _WIN32 +# include "backends/imgui_impl_glfw.cpp" +#endif + using namespace OpenVulkano; int main(int argc, char** argv)