Permalink
Browse files

Merge pull request #11541 from akien-mga/cmake-x11-egl

CMake: Fix linking X11 when using EGL and not fbdev
  • Loading branch information...
hrydgard committed Nov 7, 2018
2 parents 4c3f168 + 3cc7054 commit 99867addba51a4c8b39b049eda0f13fca5a0d5a4
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 99867ad

Please sign in to comment.