a9183756-gh / Arduino-CMake-Toolchain

CMake toolchain for all Arduino compatible boards
MIT License
137 stars 40 forks source link

Fixed error handling bug in arduino library linking #32

Closed RobertWilbrandt closed 4 years ago

RobertWilbrandt commented 4 years ago

Previously, _lib_name could still carry the value from previous find_arduino_library invocations. When trying to link with nonexistent libraries, this could "mask" the error in library searching and lead to an erroneously successfully completing cmake run.