Skip to content

FindLibMount: link against target provided by pkgconfig

target_link_libraries() against the target generated by pkg_check_modules() so that the additional linker options are not lost, such as the additional libraries to link against when building statically. In particular, mount depends on blkid, and will fail to compile statically without this fix.

Note this is an identical fix as the one for Canberra in !187 (merged)

Merge request reports