build: do not build SDL bin on Windows or macOS
Stop enabling the SDL binary by default on Windows or macOS because it usually only of interest to Linux users. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
df89beb256
commit
fc82e06270
|
@ -8,7 +8,12 @@ else()
|
||||||
set(BUILD_DEFAULT ON)
|
set(BUILD_DEFAULT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(ENABLE_SDL "Build the SDL port" ${BUILD_DEFAULT})
|
set(ENABLE_SDL_DEFAULT ${BUILD_DEFAULT})
|
||||||
|
if(WIN32 OR APPLE)
|
||||||
|
set(ENABLE_SDL_DEFAULT OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(ENABLE_SDL "Build the SDL port" ${ENABLE_SDL_DEFAULT})
|
||||||
option(ENABLE_WX "Build the wxWidgets port" ${BUILD_DEFAULT})
|
option(ENABLE_WX "Build the wxWidgets port" ${BUILD_DEFAULT})
|
||||||
option(ENABLE_DEBUGGER "Enable the debugger" ON)
|
option(ENABLE_DEBUGGER "Enable the debugger" ON)
|
||||||
option(ENABLE_ASAN "Enable -fsanitize=address by default. Requires debug build with GCC/Clang" OFF)
|
option(ENABLE_ASAN "Enable -fsanitize=address by default. Requires debug build with GCC/Clang" OFF)
|
||||||
|
|
Loading…
Reference in New Issue