From 55e1346df8570ace900563f59ae76f2ce368fa04 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 22 Nov 2021 20:25:52 +0200 Subject: [PATCH] cmake : set OpenGL policy --- examples/third-party/imgui/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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