Skip to content

host: device: fix link option

Julien Stephan requested to merge jstephan/cmake-fixes into main

use the target name inside target_link_libraries isntead of giving directly the link option, i.e apu isntead of -lapu. Cmake will handle it automatically and will add a dependency to re-link the target if the library file changed

with -lapu if libapu.a binaries linked with it are not re-linked

Signed-off-by: Julien Stephan jstephan@baylibre.com

Merge request reports