From 2a5ab33d679b138e7cdf4ba1aab4d983f410fb8c Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 2 Mar 2016 18:58:31 +0100 Subject: [PATCH] Compilation fix --- radio/src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/CMakeLists.txt b/radio/src/CMakeLists.txt index 969256fcf..b3215571a 100644 --- a/radio/src/CMakeLists.txt +++ b/radio/src/CMakeLists.txt @@ -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()