mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
dep/glad: Fix Linux build
This commit is contained in:
parent
db9d70d727
commit
7fc4b89719
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue