Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatched foreach in cmake function #1997

Closed
excaliburtb opened this issue Oct 12, 2021 · 1 comment · Fixed by #2012 or #2019
Closed

Mismatched foreach in cmake function #1997

excaliburtb opened this issue Oct 12, 2021 · 1 comment · Fixed by #2012 or #2019
Milestone

Comments

@excaliburtb
Copy link

The endforeach args do not match the foreach args

foreach(APP ${MISSION_DEPS})
list(APPEND VARLIST "${APP}_MISSION_DIR")
endforeach(APP ${MISSION_APPS})

endforeach(APP ${MISSION_APPS})

@paulober
Copy link
Contributor

Maybe consider removing args from endforeach() statement, since the official CMake documentation recommends it as a deprecated arg (since 3.12) and should only be used for backward compatibility. Depends on which min. CMake version NASA uses internally on their build-servers...

paulober pushed a commit to paulober/cFE that referenced this issue Oct 13, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Oct 30, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Oct 30, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Oct 30, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Nov 3, 2021
paulober pushed a commit to paulober/cFE that referenced this issue Nov 3, 2021
astrogeco added a commit that referenced this issue Dec 8, 2021
…ake-func

Fix #1997, Mismatched foreach in cmake function
@astrogeco astrogeco added this to the Draco milestone Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants