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(