Skip to content
Permalink
Browse files
Merge pull request #8406 from jordan-woyak/macos-enable-sdl
CMake: Enable SDL by default on macOS.
  • Loading branch information
Helios747 committed Oct 16, 2019
2 parents a21b7b1 + d2c1dbe commit 4b1567c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -52,8 +52,8 @@ option(OPROFILING "Enable profiling" OFF)
# TODO: Add DSPSpy
option(DSPTOOL "Build dsptool" OFF)

# Enable SDL for default on operating systems that aren't OSX, Android, Linux or Windows.
if(NOT APPLE AND NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT MSVC)
# Enable SDL for default on operating systems that aren't Android, Linux or Windows.
if(NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT MSVC)
option(ENABLE_SDL "Enables SDL as a generic controller backend" ON)
else()
option(ENABLE_SDL "Enables SDL as a generic controller backend" OFF)

0 comments on commit 4b1567c

Please sign in to comment.