The latest version of this document lives in the vcpkg repo.
Experimental Retrieve required module information from pkgconfig modules
x_vcpkg_pkgconfig_get_modules(
PREFIX <prefix>
MODULES <pkgconfig_modules>...
[LIBS]
[LIBRARIES]
[LIBRARIES_DIRS]
[INCLUDE_DIRS]
)
Used variable prefix to use
List of pkgconfig modules to retrieve information for.
Returns "${PKGCONFIG}" --libs
in LIBS(DEBUG|RELEASE)
Returns "${PKGCONFIG}" --libs-only-l
in LIBRARIES(DEBUG|RELEASE)
Returns "${PKGCONFIG}" --libs-only-L
in LIBRARIES_DIRS(DEBUG|RELEASE)
Returns "${PKGCONFIG}" --cflags-only-I
in INCLUDE_DIRS(DEBUG|RELEASE)
ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake