[imgui] Fix non-Apple builds

This commit is contained in:
Gary Talent 2021-07-08 01:41:05 -05:00
parent c0377f9e91
commit 51e7120a7c

View File

@ -12,6 +12,11 @@ if(APPLE)
imgui-glfw PRIVATE imgui-glfw PRIVATE
IMGUI_IMPL_OPENGL_LOADER_CUSTOM="OpenGL/gl3.h" IMGUI_IMPL_OPENGL_LOADER_CUSTOM="OpenGL/gl3.h"
) )
else()
target_compile_definitions(
imgui-glfw PRIVATE
IMGUI_IMPL_OPENGL_LOADER_CUSTOM="GLES3/gl3.h"
)
endif() endif()
target_link_libraries( target_link_libraries(