diff --git a/dep/glad/CMakeLists.txt b/dep/glad/CMakeLists.txt index f951c4cec..24a4fb45f 100644 --- a/dep/glad/CMakeLists.txt +++ b/dep/glad/CMakeLists.txt @@ -20,7 +20,7 @@ else() target_sources(glad PRIVATE src/glad_egl.c) target_link_libraries(glad PRIVATE EGL::EGL) endif() - if(SUPPORTS_X11) + if(USE_X11) target_sources(glad PRIVATE src/glad_glx.c) endif() endif()