Change SDL2 and SDL joystick to be the defaults

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6173 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f0f1c55f605e539f35e615af4fa6a7244871de79
Former-commit-id: 80028bfb50f8bba8411fd9e557de77c6903ea291
This commit is contained in:
beaglejoe 2015-10-17 14:46:49 +00:00
parent 64902c654b
commit 8e006680a4

View file

@ -76,6 +76,11 @@ MACRO(ADD_SD_COMPILE_OPTIONS)
SET(OPTION_3RDPARTY_SQLITE3 false CACHE BOOL "Use SQLite3 as database for record/replay") SET(OPTION_3RDPARTY_SQLITE3 false CACHE BOOL "Use SQLite3 as database for record/replay")
SET(OPTION_OSGGRAPH true CACHE BOOL "Build OpenScenGraph-based WIP osggraph graphics module")
SET(OPTION_SDL2 true CACHE BOOL "Build with SDL2 instead of SDL 1.2")
SET(OPTION_SDL_JOYSTICK true CACHE BOOL "Use SDL for Joystick instead of PLIB")
IF(APPLE) IF(APPLE)
# Automatically set OPTION_USE_MACPORTS (at least until someone fixes the regular APPLE build) # Automatically set OPTION_USE_MACPORTS (at least until someone fixes the regular APPLE build)
MESSAGE(STATUS "Automatically set OPTION_USE_MACPORTS (at least until someone fixes the regular APPLE build)") MESSAGE(STATUS "Automatically set OPTION_USE_MACPORTS (at least until someone fixes the regular APPLE build)")
@ -104,14 +109,8 @@ MACRO(ADD_SD_COMPILE_OPTIONS)
SET(CMAKE_PREFIX_PATH "/opt/local" CACHE PATH "Prepended to search path") SET(CMAKE_PREFIX_PATH "/opt/local" CACHE PATH "Prepended to search path")
#SET(CMAKE_FIND_ROOT_PATH "/opt/local" CACHE PATH "Prepended to search path") #SET(CMAKE_FIND_ROOT_PATH "/opt/local" CACHE PATH "Prepended to search path")
SET(CMAKE_FIND_FRAMEWORK LAST) SET(CMAKE_FIND_FRAMEWORK LAST)
SET(OPTION_SDL2 true CACHE BOOL "Build with SDL2 instead of SDL 1.2") MESSAGE(STATUS "Remove the line below to true when OSG works on MacPorts")
SET(OPTION_SDL_JOYSTICK true CACHE BOOL "Use SDL for Joystick instead of PLIB")
MESSAGE(STATUS "Change the line below to true when OSG works on MacPorts")
SET(OPTION_OSGGRAPH false CACHE BOOL "Build OpenScenGraph-based WIP osggraph graphics module") SET(OPTION_OSGGRAPH false CACHE BOOL "Build OpenScenGraph-based WIP osggraph graphics module")
ELSE(OPTION_USE_MACPORTS)
SET(OPTION_SDL2 false CACHE BOOL "Build with SDL2 instead of SDL 1.2")
SET(OPTION_SDL_JOYSTICK false CACHE BOOL "Use SDL for Joystick instead of PLIB")
SET(OPTION_OSGGRAPH true CACHE BOOL "Build OpenScenGraph-based WIP osggraph graphics module")
ENDIF(OPTION_USE_MACPORTS) ENDIF(OPTION_USE_MACPORTS)
SET(OPTION_AUTOVERSION true CACHE BOOL "Enable automatic computation of the version from SVN source tree") SET(OPTION_AUTOVERSION true CACHE BOOL "Enable automatic computation of the version from SVN source tree")