From 51e7120a7c11ad6c7c2e6306e7bb89ee63f6889a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 8 Jul 2021 01:41:05 -0500 Subject: [PATCH] [imgui] Fix non-Apple builds --- deps/imgui/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deps/imgui/CMakeLists.txt b/deps/imgui/CMakeLists.txt index 01ad6245..9d46cf21 100644 --- a/deps/imgui/CMakeLists.txt +++ b/deps/imgui/CMakeLists.txt @@ -12,6 +12,11 @@ if(APPLE) imgui-glfw PRIVATE IMGUI_IMPL_OPENGL_LOADER_CUSTOM="OpenGL/gl3.h" ) +else() + target_compile_definitions( + imgui-glfw PRIVATE + IMGUI_IMPL_OPENGL_LOADER_CUSTOM="GLES3/gl3.h" + ) endif() target_link_libraries(