diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d383752cc..45e6d79859 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,10 +3,11 @@ project(PPSSPP) if(ANDROID OR BLACKBERRY) set(HEADLESS OFF) +elseif(NOT DEFINED HEADLESS) + set(HEADLESS ON) endif() if(ANDROID_ABI) - set(ANDROID ON) if(ARMEABI OR ARMEABI_V7A) set(ARM ON) endif()