From af9afae1cd7ba12fab658c1f9210baadc8f27b11 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 12 Jul 2020 12:41:58 +1000 Subject: [PATCH] cmake: SUPPORTS_X11 -> USE_X11 for glad --- dep/glad/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()