mkleemann / cmake-avr

cmake toolchain for AVR
Other
174 stars 61 forks source link

Fix avr_target_link_libraries #19

Closed klaussnd closed 5 years ago

klaussnd commented 5 years ago

This PR fixes avr_target_link_libraries. Due to a typo, using it resulted in a CMake error:

CMake Error at generic-gcc-avr.cmake:348 (target_link_libraries):
  The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument,
  just after the target name.
Call Stack (most recent call first):
  CMakeLists.txt:32 (avr_target_link_libraries)