Support a headless EGL option.

This is a new option to support completely headless running of Dolphin without X11 on systems that can properly support it.
This commit is contained in:
Ryan Houdek
2016-01-27 15:04:14 -06:00
parent 184a7a3e0d
commit 628e9bad92
5 changed files with 26 additions and 10 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ if(wxWidgets_FOUND)
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} ${DOLPHIN_EXE})
endif()
if(USE_X11)
if(USE_X11 OR ENABLE_HEADLESS)
set(DOLPHIN_NOGUI_EXE ${DOLPHIN_EXE_BASE}-nogui)
add_executable(${DOLPHIN_NOGUI_EXE} ${SRCS} ${NOGUI_SRCS})
target_link_libraries(${DOLPHIN_NOGUI_EXE} ${LIBS})