mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Merge pull request #5276 from ligfx/macosheadless
Add headless support on macOS
This commit is contained in:
@ -396,9 +396,13 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
endif()
|
||||
|
||||
if(ENABLE_HEADLESS)
|
||||
message(STATUS "Enabling Headless! Disabling GUI, force enabling EGL!")
|
||||
if(APPLE)
|
||||
message(STATUS "Enabling Headless! Disabling GUI.")
|
||||
else()
|
||||
message(STATUS "Enabling Headless! Disabling GUI, force enabling EGL!")
|
||||
set(USE_EGL 1)
|
||||
endif()
|
||||
set(USE_X11 0)
|
||||
set(USE_EGL 1)
|
||||
set(DISABLE_WX 1)
|
||||
set(ENABLE_QT2 0)
|
||||
add_definitions(-DUSE_HEADLESS)
|
||||
|
Reference in New Issue
Block a user