diff --git a/CMakeLists.txt b/CMakeLists.txt index 843f062861..88e8f4a8f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,8 +124,8 @@ option(OPROFILING "Enable profiling" OFF) # TODO: Add DSPSpy option(DSPTOOL "Build dsptool" OFF) -# Enable SDL for default on operating systems that aren't Android or Linux. -if(NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "Linux") +# Enable SDL by default on operating systems that aren't Android. +if(NOT ANDROID) option(ENABLE_SDL "Enables SDL as a generic controller backend" ON) else() option(ENABLE_SDL "Enables SDL as a generic controller backend" OFF)