modm-io / modm

modm: a C++23 library generator for AVR and ARM Cortex-M devices
https://modm.io
Mozilla Public License 2.0
720 stars 128 forks source link

CMake: Fix generation with multiple repos #1140

Closed Javask closed 4 months ago

Javask commented 4 months ago

Make the CMake generator work with projects using multiple repositories, similar to how it works with SCons. Currently this would generate multiple targets called modm, causing an error.