arduino-cmake / Arduino-CMake-NG

CMake-Based framework for Arduino platforms
MIT License
138 stars 39 forks source link

Fixed bug where platform libraries weren't using all of their sources #46

Closed MrPointer closed 6 years ago

MrPointer commented 6 years ago

Only the root directory of a platform library were searched for sources, even if a utility sub-directory exists. This is fixed now as the same search algorithm used for Arduino Libraries is applied here as well.

Also fixed a bug where libraries that support a single architecture which happens to be the platform architecture weren't supported - This case wasn't covered in the cmake code.

Fixes #43.