arduino-cmake / Arduino-CMake-NG

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

Fix Arduino SDK bin folder search on Linux #85

Closed jeandet closed 5 years ago

jeandet commented 5 years ago

On Linux CMake might find avr-gcc inside ccache folder first which leads to wrong ar/ranlib detection. On Fedora 30 at least, it leads to link errors because it uses avr-ar/ranlib instead of avr-gcc-ar/ranlib.