diff --git a/src/firmware/qurt/CMakeLists.txt b/src/firmware/qurt/CMakeLists.txt index 3dc12c57f6..b6d743186f 100644 --- a/src/firmware/qurt/CMakeLists.txt +++ b/src/firmware/qurt/CMakeLists.txt @@ -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) diff --git a/src/platforms/qurt/px4_layer/CMakeLists.txt b/src/platforms/qurt/px4_layer/CMakeLists.txt index dcd217c05c..b1b99b63f2 100644 --- a/src/platforms/qurt/px4_layer/CMakeLists.txt +++ b/src/platforms/qurt/px4_layer/CMakeLists.txt @@ -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()