[imgui] Fix non-Apple builds
This commit is contained in:
parent
c0377f9e91
commit
51e7120a7c
5
deps/imgui/CMakeLists.txt
vendored
5
deps/imgui/CMakeLists.txt
vendored
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user