Simplification
This commit is contained in:
@@ -275,9 +275,7 @@ if(DANGEROUS_MODULE_FUNCTIONS)
|
|||||||
add_definitions(-DDANGEROUS_MODULE_FUNCTIONS)
|
add_definitions(-DDANGEROUS_MODULE_FUNCTIONS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SPLASH STREQUAL FRSKY)
|
if(NOT SPLASH STREQUAL OFF)
|
||||||
add_definitions(-DSPLASH -DFRSKY_RELEASE)
|
|
||||||
elseif(NOT SPLASH STREQUAL OFF)
|
|
||||||
add_definitions(-DSPLASH)
|
add_definitions(-DSPLASH)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -307,11 +305,11 @@ endif()
|
|||||||
|
|
||||||
if(NIGHTLY_BUILD_WARNING)
|
if(NIGHTLY_BUILD_WARNING)
|
||||||
add_definitions(-DNIGHTLY_BUILD_WARNING)
|
add_definitions(-DNIGHTLY_BUILD_WARNING)
|
||||||
endif(NIGHTLY_BUILD_WARNING)
|
endif()
|
||||||
|
|
||||||
if(FRSKY_RELEASE)
|
if(FRSKY_RELEASE)
|
||||||
add_definitions(-DFRSKY_RELEASE)
|
add_definitions(-DFRSKY_RELEASE)
|
||||||
endif(FRSKY_RELEASE)
|
endif()
|
||||||
|
|
||||||
set(SRC
|
set(SRC
|
||||||
${SRC}
|
${SRC}
|
||||||
|
|||||||
Reference in New Issue
Block a user