[Buildsystem] Only build KMSDRM support if EGL+OpenGL is detected by CMake.

This commit is contained in:
Manuel Alfayate Corchete
2020-12-22 17:17:30 +01:00
parent a19c008a7f
commit 13244de5c2
2 changed files with 22 additions and 1 deletions

View File

@@ -1180,6 +1180,8 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID AND NOT RISCOS)
CheckOpenGLESX11()
CheckWayland()
CheckVivante()
# Need to check EGL before checking KMSDRM because KMSDRM depends on it.
CheckEGLKMSDRM()
CheckKMSDRM()
endif()