fix(cmake): compatibility with both gcc and clang when using Debug build type

Merge Request Template

Summary

Fixes bug introduced in !429 (merged)

Documentation updated in https://gitlab.com/sfurs/software/-/wikis/Skynet/Build

Testing

  • Created tests
  • Updated tests
  • Tested in simulation (integration tests)
  • Tested in real robot (if applicable)
  • No tests (reason):

Screenshots/Videos

Related Issue(s)

Changes

Blast Radius

Checklist

  • All relevant unit tests are passing
  • Documentation updated (if applicable)
  • No debug logs or commented-out code

Reviewer Notes

Closes #627 (closed)

Edited by David Pham

Merge request reports

Loading