CMake: Generic check for desktop GL and EGL on Linux systems

This commit is contained in:
Nicolas Caramelli authored and Sam Lantinga committed 2021-06-01 16:50:28 -07:00
1 parent fd121b5ec0
commit 6a2af48ad7
2 files changed
+55 -73

No files matched your search

+6 -6
View File
@@ -1202,14 +1202,14 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID AND NOT RISCOS)
CheckRPI()
CheckX11()
CheckDirectFB()
CheckOpenGLX11()
CheckOpenGLESX11()
# Need to check for EGL first because KMSDRM and Wayland depends on it.
CheckEGL()
CheckKMSDRM()
CheckGLX()
CheckOpenGL()
CheckOpenGLES()
CheckWayland()
CheckVivante()
# Need to check EGL before checking KMSDRM because KMSDRM depends on it.
CheckEGLKMSDRM()
CheckKMSDRM()
CheckOpenGLKMSDRM()
endif()
if(UNIX)