mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 01:56:23 +00:00
CMake: Add an ENABLE_NOGUI option
This commit is contained in:
parent
836f76da89
commit
eabde77892
3 changed files with 9 additions and 6 deletions
|
@ -2,12 +2,15 @@ add_subdirectory(AudioCommon)
|
|||
add_subdirectory(Common)
|
||||
add_subdirectory(Core)
|
||||
add_subdirectory(DiscIO)
|
||||
add_subdirectory(DolphinNoGUI)
|
||||
add_subdirectory(InputCommon)
|
||||
add_subdirectory(UICommon)
|
||||
add_subdirectory(VideoCommon)
|
||||
add_subdirectory(VideoBackends)
|
||||
|
||||
if(ENABLE_NOGUI)
|
||||
add_subdirectory(DolphinNoGUI)
|
||||
endif()
|
||||
|
||||
if(ENABLE_QT)
|
||||
add_subdirectory(DolphinQt)
|
||||
endif()
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
|
||||
return()
|
||||
endif()
|
||||
|
||||
add_executable(dolphin-nogui
|
||||
Platform.cpp
|
||||
PlatformHeadless.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue