Skip to content
Permalink
Browse files

CMake: Fix linking X11 when using EGL and not fbdev

Co-authored-by: Unknown W. Brackets <checkins@unknownbrackets.org>
  • Loading branch information...
akien-mga and unknownbrackets committed Nov 6, 2018
1 parent b6742af commit 3cc7054831235a7baca2f5d37c35a141f2faa1aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -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()

0 comments on commit 3cc7054

Please sign in to comment.
You can’t perform that action at this time.