cmake: SUPPORTS_X11 -> USE_X11 for glad

This commit is contained in:
Connor McLaughlin 2020-07-12 12:41:58 +10:00
parent 932b38c852
commit af9afae1cd
1 changed files with 1 additions and 1 deletions

View File

@ -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()