diff --git a/CMakeLists.txt b/CMakeLists.txt index b65342a035..214bb92644 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -354,6 +354,8 @@ if(NOT ANDROID) if(NOT USE_GLES3) include(FindOpenGL) + else() + set(X11_FOUND 1) endif() include(FindALSA OPTIONAL)