mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 02:10:34 +08:00
Fixed cmake else statements
Removed use of if(foo) else(foo) endif(foo) convention of cmake Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ if ("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
add_executable(mainapp
|
||||
${CMAKE_SOURCE_DIR}/src/platforms/qurt/dspal/dspal_stub.c
|
||||
${CMAKE_BINARY_DIR}/apps.h)
|
||||
else("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
else()
|
||||
add_library(mainapp
|
||||
${CMAKE_SOURCE_DIR}/src/platforms/qurt/dspal/dspal_stub.c
|
||||
${CMAKE_BINARY_DIR}/apps.h)
|
||||
|
||||
@@ -54,7 +54,7 @@ if ("${BOARD}" STREQUAL "eagle")
|
||||
# The CI test target can use the hil commands
|
||||
if ("${LABEL}" STREQUAL "travis")
|
||||
set(CONFIG_SRC commands_hil.c)
|
||||
else("${LABEL}" STREQUAL "travis")
|
||||
else()
|
||||
set(CONFIG_SRC commands_${LABEL}.c)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user