mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
CMake: Enable SDL on Linux by default
This commit is contained in:
parent
51e05f468a
commit
7baedc3ec4
@ -124,8 +124,8 @@ option(OPROFILING "Enable profiling" OFF)
|
|||||||
# TODO: Add DSPSpy
|
# TODO: Add DSPSpy
|
||||||
option(DSPTOOL "Build dsptool" OFF)
|
option(DSPTOOL "Build dsptool" OFF)
|
||||||
|
|
||||||
# Enable SDL for default on operating systems that aren't Android or Linux.
|
# Enable SDL by default on operating systems that aren't Android.
|
||||||
if(NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(NOT ANDROID)
|
||||||
option(ENABLE_SDL "Enables SDL as a generic controller backend" ON)
|
option(ENABLE_SDL "Enables SDL as a generic controller backend" ON)
|
||||||
else()
|
else()
|
||||||
option(ENABLE_SDL "Enables SDL as a generic controller backend" OFF)
|
option(ENABLE_SDL "Enables SDL as a generic controller backend" OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user