mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
CMake: Don't include X11 headers when compiling for FBDEV
When compiling for FBDEV, we don't need/want the X11 headers. These are included by default by <EGL/eglplatform.h>; compile with the EGL_NO_X11 macro set to prevent that. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
This commit is contained in:
parent
2cdafd97ea
commit
38ea5b3c60
@ -219,7 +219,7 @@ if(USING_EGL)
|
||||
add_definitions(-DUSING_EGL)
|
||||
endif()
|
||||
if(USING_FBDEV)
|
||||
add_definitions(-DUSING_FBDEV)
|
||||
add_definitions(-DUSING_FBDEV -DEGL_NO_X11)
|
||||
endif()
|
||||
if(USING_GLES2)
|
||||
add_definitions(-DUSING_GLES2)
|
||||
|
Loading…
Reference in New Issue
Block a user