deps/glad: Make X11 required as well

To keep consistency with the EGL line
master
Georges Basile Stavracas Neto 2020-04-11 23:49:05 -03:00
parent 2fd8a6df55
commit 59744e95c3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ project(glad)
find_package(OpenGL)
if(NOT WIN32 AND NOT APPLE)
find_package(X11)
find_package(X11 REQUIRED)
find_package(EGL REQUIRED)
endif()