feat(color): enable LUA_MIXER, hidden by default (#3973)
This commit is contained in:
@@ -36,7 +36,6 @@ if(SDL2_FOUND)
|
||||
option(SIMU_AUDIO "Enable simulator audio." ON)
|
||||
endif()
|
||||
option(LUA "Enable LUA support" ON)
|
||||
option(LUA_MIXER "Enable LUA mixer/model scripts support" 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(FAS_PROTOTYPE "Support of old FAS prototypes (different resistors)" OFF)
|
||||
@@ -180,14 +179,16 @@ if(RTC_BACKUP_RAM)
|
||||
add_custom_target(datacopy DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/datacopy.inc)
|
||||
endif()
|
||||
|
||||
if(LUA)
|
||||
include(lua/CMakeLists.txt)
|
||||
endif()
|
||||
option(LUA_MIXER "Enable LUA mixer/model scripts support" OFF)
|
||||
|
||||
if (LUA_MIXER AND NOT LUA)
|
||||
message(FATAL_ERROR "LUA_MIXER requires LUA!!")
|
||||
endif()
|
||||
|
||||
if(LUA)
|
||||
include(lua/CMakeLists.txt)
|
||||
endif()
|
||||
|
||||
if(HELI)
|
||||
add_definitions(-DHELI)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user