diff --git a/examples/third-party/imgui/CMakeLists.txt b/examples/third-party/imgui/CMakeLists.txt index b3d39ab..5dced7d 100644 --- a/examples/third-party/imgui/CMakeLists.txt +++ b/examples/third-party/imgui/CMakeLists.txt @@ -86,6 +86,7 @@ if (GGWAVE_SUPPORT_SDL2) imgui ) else() + set(OpenGL_GL_PREFERENCE GLVND) find_package(OpenGL REQUIRED) add_library(imgui-sdl2