mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-05-10 02:47:39 +08:00
imgui : use GL3W
This commit is contained in:
5
examples/third-party/imgui/CMakeLists.txt
vendored
5
examples/third-party/imgui/CMakeLists.txt
vendored
@@ -90,6 +90,11 @@ if (GGWAVE_SUPPORT_SDL2)
|
||||
imgui-extra/imgui_impl_opengl3.cpp
|
||||
)
|
||||
|
||||
# force GL3W loader
|
||||
target_compile_definitions(imgui-sdl2 PUBLIC
|
||||
IMGUI_IMPL_OPENGL_LOADER_GL3W=1
|
||||
)
|
||||
|
||||
target_include_directories(imgui-sdl2 PUBLIC
|
||||
imgui/examples/libs/gl3w
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
|
||||
Reference in New Issue
Block a user