From 2c221908d49efe88ee904ad50aa3e5e945d3b348 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Wed, 13 Dec 2023 15:47:15 -0500 Subject: [PATCH] Fix #2481, correct loop variable This CMake loop is supposed to run for every app. Unfortunately at this point the SYSVAR is not yet defined, so the result is it does nothing and none of the overrides get configured. With this loop, it should set up the override directive correctly. --- cmake/arch_build.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/arch_build.cmake b/cmake/arch_build.cmake index f173e5d06..640ef2f1b 100644 --- a/cmake/arch_build.cmake +++ b/cmake/arch_build.cmake @@ -666,7 +666,7 @@ function(setup_platform_msgids) list(APPEND OUTPUT_VAR_LIST ${CFGSRC}_cfe_${DEP_NAME}_msgids) endforeach(DEP_NAME ${MISSION_CORE_MODULES}) - foreach(DEP_NAME ${TGTSYS_${SYSVAR}_APPS} ${TGTSYS_${SYSVAR}_STATICAPPS}) + foreach(DEP_NAME ${MISSION_APPS}) string(TOUPPER "${DEP_NAME}_CFGFILE_SRC" CFGSRC) list(APPEND OUTPUT_VAR_LIST ${CFGSRC}_${DEP_NAME}_msgids) endforeach(DEP_NAME ${MISSION_APPS})