mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
CMake: Add an ENABLE_NOGUI option
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user