From fcf642fe4eefdab4151d17aad30f63e5b53682b9 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 5 Feb 2016 00:02:33 +0100 Subject: [PATCH] fixed bad formating of ekf2 CMakeFile --- src/modules/ekf2/CMakeLists.txt | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/modules/ekf2/CMakeLists.txt b/src/modules/ekf2/CMakeLists.txt index b8a4991692..37e4f78d0b 100644 --- a/src/modules/ekf2/CMakeLists.txt +++ b/src/modules/ekf2/CMakeLists.txt @@ -31,19 +31,18 @@ # ############################################################################# set(MODULE_CFLAGS) - -if ($ {OS} STREQUAL "nuttx") - list(APPEND MODULE_CFLAGS - Wframe - larger - than = 4000) - endif() - px4_add_module( - MODULE modules__ekf2 - MAIN ekf2 - COMPILE_FLAGS $ {MODULE_CFLAGS} - STACK 1000 - SRCS +if (${OS} STREQUAL "nuttx") + list(APPEND MODULE_CFLAGS -Wframe-larger-than=4000) +endif() +px4_add_module( + MODULE modules__ekf2 + MAIN ekf2 + COMPILE_FLAGS ${MODULE_CFLAGS} + STACK 1000 + SRCS ekf2_main.cpp - DEPENDS + DEPENDS platforms__common git_ecl ) -# vim: set noet ft=cmake fenc=utf-8 ff=unix : +# vim: set noet ft=cmake fenc=utf-8 ff=unix :