Browse Source

Fixed cmake else statements

Removed use of if(foo) else(foo) endif(foo) convention of cmake

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
sbg
Mark Charlebois 9 years ago
parent
commit
f6f6b035d6
  1. 2
      src/firmware/qurt/CMakeLists.txt
  2. 2
      src/platforms/qurt/px4_layer/CMakeLists.txt

2
src/firmware/qurt/CMakeLists.txt

@ -14,7 +14,7 @@ if ("${QURT_ENABLE_STUBS}" STREQUAL "1") @@ -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)

2
src/platforms/qurt/px4_layer/CMakeLists.txt

@ -54,7 +54,7 @@ if ("${BOARD}" STREQUAL "eagle") @@ -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()

Loading…
Cancel
Save