mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Fix simu compilation
This commit is contained in:
parent
b641906dd4
commit
e3eb0d291f
1 changed files with 7 additions and 7 deletions
|
@ -359,6 +359,13 @@ endif()
|
||||||
|
|
||||||
add_definitions(-DPOPUP_LEVEL=${POPUP_LEVEL})
|
add_definitions(-DPOPUP_LEVEL=${POPUP_LEVEL})
|
||||||
|
|
||||||
|
if(INTERNAL_MODULE_MULTI)
|
||||||
|
set(DEFAULT_TEMPLATE_SETUP 21 CACHE STRING "")
|
||||||
|
else()
|
||||||
|
set(DEFAULT_TEMPLATE_SETUP 0 CACHE STRING "")
|
||||||
|
endif()
|
||||||
|
add_definitions(-DDEFAULT_TEMPLATE_SETUP=${DEFAULT_TEMPLATE_SETUP})
|
||||||
|
|
||||||
set(SRC
|
set(SRC
|
||||||
${SRC}
|
${SRC}
|
||||||
opentx.cpp
|
opentx.cpp
|
||||||
|
@ -418,13 +425,6 @@ endif()
|
||||||
|
|
||||||
set(SRC ${SRC} ${FIRMWARE_SRC})
|
set(SRC ${SRC} ${FIRMWARE_SRC})
|
||||||
|
|
||||||
if(INTERNAL_MODULE_MULTI)
|
|
||||||
set(DEFAULT_TEMPLATE_SETUP 21 CACHE STRING "")
|
|
||||||
else()
|
|
||||||
set(DEFAULT_TEMPLATE_SETUP 0 CACHE STRING "")
|
|
||||||
endif()
|
|
||||||
add_definitions(-DDEFAULT_TEMPLATE_SETUP=${DEFAULT_TEMPLATE_SETUP})
|
|
||||||
|
|
||||||
##### firmware target #####
|
##### firmware target #####
|
||||||
|
|
||||||
option(FIRMWARE_TARGET "Configure Firmware target (can be turned of for compiling Companion only)" ON)
|
option(FIRMWARE_TARGET "Configure Firmware target (can be turned of for compiling Companion only)" ON)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue