cmake : set OpenGL policy

This commit is contained in:
Georgi Gerganov
2021-11-22 20:25:52 +02:00
parent 1ebe881ea9
commit 55e1346df8

View File

@@ -86,6 +86,7 @@ if (GGWAVE_SUPPORT_SDL2)
imgui
)
else()
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
add_library(imgui-sdl2