Compilation fix

This commit is contained in:
Bertrand Songis
2016-03-02 18:58:31 +01:00
parent 59b457650a
commit 2a5ab33d67
+2 -1
View File
@@ -462,7 +462,8 @@ if(ARCH STREQUAL ARM)
endif()
if(CLI)
add_definitions(-DCLI)
set(FIRMWARE_SRC ${FIRMWARE_SRC} cli.cpp dump.cpp)
set(FIRMWARE_SRC ${FIRMWARE_SRC} cli.cpp)
set(SRC ${SRC} dump.cpp)
elseif(DEBUG)
set(SRC ${SRC} dump.cpp)
endif()