From 7fc4b89719caf0c62e6ec5ac15d3ad663397b3c8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 17 Sep 2023 12:51:00 +1000 Subject: [PATCH] dep/glad: Fix Linux build --- dep/glad/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dep/glad/CMakeLists.txt b/dep/glad/CMakeLists.txt index 24a4fb45f..1c0f20144 100644 --- a/dep/glad/CMakeLists.txt +++ b/dep/glad/CMakeLists.txt @@ -16,11 +16,11 @@ target_link_libraries(glad PRIVATE Threads::Threads "${CMAKE_DL_LIBS}") if(WIN32) target_sources(glad PRIVATE src/glad_wgl.c) else() - if(USE_EGL) + if(ENABLE_EGL) target_sources(glad PRIVATE src/glad_egl.c) target_link_libraries(glad PRIVATE EGL::EGL) endif() - if(USE_X11) + if(ENABLE_X11) target_sources(glad PRIVATE src/glad_glx.c) endif() endif()