Skip to content

Commit

Permalink
Merge pull request #2596 from pepepr08:fix-2595-multi-platform-build
Browse files Browse the repository at this point in the history
Fix #2595, Use string append and add newline
  • Loading branch information
dzbaker committed Aug 29, 2024
2 parents 4763a7f + 42c3fbd commit 023f29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/config/tool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<TARGET_OBJECTS:${OBJLIB_NAME}>)
list(APPEND PLATFORM_OBJ_NAMES "CFE_PLATFORM(${SYSVAR})")
string(APPEND PLATFORM_OBJ_NAMES "CFE_PLATFORM(${SYSVAR})\n")

add_custom_command(
OUTPUT ${PLATFORM_DEFINE_FILE}
Expand Down

0 comments on commit 023f29f

Please sign in to comment.