fixed bad formating of ekf2 CMakeFile

This commit is contained in:
Roman
2016-02-05 18:28:32 +01:00
committed by tumbili
parent 371e5f70b1
commit fcf642fe4e
+5 -6
View File
@@ -31,14 +31,13 @@
# #
############################################################################# #############################################################################
set(MODULE_CFLAGS) set(MODULE_CFLAGS)
if (${OS} STREQUAL "nuttx")
if ($ {OS} STREQUAL "nuttx") list(APPEND MODULE_CFLAGS -Wframe-larger-than=4000)
list(APPEND MODULE_CFLAGS - Wframe - larger - than = 4000) endif()
endif() px4_add_module(
px4_add_module(
MODULE modules__ekf2 MODULE modules__ekf2
MAIN ekf2 MAIN ekf2
COMPILE_FLAGS $ {MODULE_CFLAGS} COMPILE_FLAGS ${MODULE_CFLAGS}
STACK 1000 STACK 1000
SRCS SRCS
ekf2_main.cpp ekf2_main.cpp