Simplification

This commit is contained in:
Bertrand Songis
2019-04-19 14:41:31 +02:00
parent 55898a4456
commit 5be4890cce
+3 -5
View File
@@ -275,9 +275,7 @@ if(DANGEROUS_MODULE_FUNCTIONS)
add_definitions(-DDANGEROUS_MODULE_FUNCTIONS)
endif()
if(SPLASH STREQUAL FRSKY)
add_definitions(-DSPLASH -DFRSKY_RELEASE)
elseif(NOT SPLASH STREQUAL OFF)
if(NOT SPLASH STREQUAL OFF)
add_definitions(-DSPLASH)
endif()
@@ -307,11 +305,11 @@ endif()
if(NIGHTLY_BUILD_WARNING)
add_definitions(-DNIGHTLY_BUILD_WARNING)
endif(NIGHTLY_BUILD_WARNING)
endif()
if(FRSKY_RELEASE)
add_definitions(-DFRSKY_RELEASE)
endif(FRSKY_RELEASE)
endif()
set(SRC
${SRC}