cmake: SUPPORTS_X11 -> USE_X11 for glad
This commit is contained in:
parent
932b38c852
commit
af9afae1cd
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue