CMake: Add an ENABLE_NOGUI option

This commit is contained in:
Stenzek
2018-10-24 18:14:50 +10:00
parent 836f76da89
commit eabde77892
3 changed files with 9 additions and 6 deletions

View File

@ -1,7 +1,3 @@
if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
return()
endif()
add_executable(dolphin-nogui
Platform.cpp
PlatformHeadless.cpp