diff --git a/cmake/mission_build.cmake b/cmake/mission_build.cmake index 98bf76b2a..4edf379e1 100644 --- a/cmake/mission_build.cmake +++ b/cmake/mission_build.cmake @@ -359,7 +359,7 @@ function(prepare) ) foreach(APP ${MISSION_DEPS}) list(APPEND VARLIST "${APP}_MISSION_DIR") - endforeach(APP ${MISSION_APPS}) + endforeach() foreach(SYSVAR ${TGTSYS_LIST}) list(APPEND VARLIST "BUILD_CONFIG_${SYSVAR}")