mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DolphinNoGUI: Runtime selection of platform
This commit is contained in:
@ -3,9 +3,15 @@ if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
|
||||
endif()
|
||||
|
||||
add_executable(dolphin-nogui
|
||||
Platform.cpp
|
||||
PlatformHeadless.cpp
|
||||
MainNoGUI.cpp
|
||||
)
|
||||
|
||||
if(ENABLE_X11 AND X11_FOUND)
|
||||
target_sources(dolphin-nogui PRIVATE PlatformX11.cpp)
|
||||
endif()
|
||||
|
||||
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
|
||||
|
||||
target_link_libraries(dolphin-nogui
|
||||
|
Reference in New Issue
Block a user