GLContext: Dynamically load wayland-egl

This commit is contained in:
Connor McLaughlin
2022-07-25 17:21:15 +10:00
parent 5d89715b17
commit c233a8042f
5 changed files with 46 additions and 11 deletions

View File

@ -205,7 +205,6 @@ if(USE_WAYLAND)
gl/context_egl_wayland.h
)
target_compile_definitions(common PRIVATE "-DUSE_WAYLAND=1")
target_link_libraries(common PRIVATE Wayland::Egl)
endif()
if(APPLE)