Skip to content

cmake: Refer to pkg-config dependencies via imported targets

Povilas Kanapickas requested to merge p12tic/sanescan:pkgconfig-fixes into master

This fixes issues when compiling into custom prefix because plain pkg_check_modules does not setup the full set of paths correctly and thus system libraries may be accidentally pulled in.

Merge request reports