FindPkgConfig

FindPkgConfig

A pkg-config module for CMake.

Finds the pkg-config executable and add the pkg_check_modules() and pkg_search_module() commands.

In order to find the pkg-config executable, it uses the PKG_CONFIG_EXECUTABLE variable or the PKG_CONFIG environment variable first.

pkg_get_variable

Retrieves the value of a variable from a pack