[build] Only add SIMU_AUDIO option if SDL was found, and turn it ON by default. (#4248)
This commit is contained in:
committed by
Bertrand Songis
parent
61d27ebd75
commit
56dc2f94ce
@@ -29,7 +29,9 @@ option(AUTOSOURCE "Automatic source detection in menus" ON)
|
|||||||
option(AUTOSWITCH "Automatic switch detection in menus" ON)
|
option(AUTOSWITCH "Automatic switch detection in menus" ON)
|
||||||
option(JITTER_MEASURE "Enable ADC jitter measurement" OFF)
|
option(JITTER_MEASURE "Enable ADC jitter measurement" OFF)
|
||||||
option(WATCHDOG_DISABLED "Disable hardware Watchdog" OFF)
|
option(WATCHDOG_DISABLED "Disable hardware Watchdog" OFF)
|
||||||
option(SIMU_AUDIO "Enable simulator audio" OFF)
|
if(SDL_FOUND)
|
||||||
|
option(SIMU_AUDIO "Enable simulator audio." ON)
|
||||||
|
endif()
|
||||||
option(SIMU_DISKIO "Enable disk IO simulation in simulator. Simulator will use FatFs module and simulated IO layer that uses \"./sdcard.image\" file as image of SD card. This file must contain whole SD card from first to last sector" OFF)
|
option(SIMU_DISKIO "Enable disk IO simulation in simulator. Simulator will use FatFs module and simulated IO layer that uses \"./sdcard.image\" file as image of SD card. This file must contain whole SD card from first to last sector" OFF)
|
||||||
option(SIMU_LUA_COMPILER "Pre-compile and save Lua scripts in simulator." ON)
|
option(SIMU_LUA_COMPILER "Pre-compile and save Lua scripts in simulator." ON)
|
||||||
option(FAS_PROTOTYPE "Support of old FAS prototypes (different resistors)" OFF)
|
option(FAS_PROTOTYPE "Support of old FAS prototypes (different resistors)" OFF)
|
||||||
|
|||||||
Reference in New Issue
Block a user