From 42c3fbdbcf951e85eff806829ab0604055572ecb Mon Sep 17 00:00:00 2001 From: "Jose F. Martinez Pedraza" Date: Fri, 16 Aug 2024 15:59:52 -0400 Subject: [PATCH] Fix #2595, Use string append and add newline to avoid using list, which appends an undesired semicolon --- modules/config/tool/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/tool/CMakeLists.txt b/modules/config/tool/CMakeLists.txt index 491b2bd77..9c74cc586 100644 --- a/modules/config/tool/CMakeLists.txt +++ b/modules/config/tool/CMakeLists.txt @@ -47,7 +47,7 @@ foreach(SYSVAR ${TGTSYS_LIST}) set(PLATFORM_DEFINE_FILE ${MISSION_BINARY_DIR}/src/${OBJLIB_NAME}.c) set(PLATFORM_LIST_FILE ${MISSION_BINARY_DIR}/src/${OBJLIB_NAME}.list) list(APPEND PLATFORM_CONFIG_LIST $) - list(APPEND PLATFORM_OBJ_NAMES "CFE_PLATFORM(${SYSVAR})") + string(APPEND PLATFORM_OBJ_NAMES "CFE_PLATFORM(${SYSVAR})\n") add_custom_command( OUTPUT ${PLATFORM_DEFINE_FILE}