Commit a98d20d
authored
Fixed error handling bug in arduino library linking (#32)
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.1 parent e4252c5 commit a98d20d
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
494 | 499 | | |
495 | | - | |
496 | | - | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
| |||
0 commit comments