mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 14:16:53 +00:00
CMake: Fix linking X11 when using EGL and not fbdev
Co-authored-by: Unknown W. Brackets <checkins@unknownbrackets.org>
This commit is contained in:
parent
b6742af077
commit
3cc7054831
@ -489,7 +489,7 @@ if(TARGET SDL2::SDL2)
|
||||
target_link_libraries(Common SDL2::SDL2)
|
||||
endif()
|
||||
|
||||
if(USING_GLES2)
|
||||
if(USING_GLES2 OR (USING_EGL AND NOT USING_FBDEV))
|
||||
find_package(X11)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user