From dd4421808cc9131a0a68e71d9c41b0b6b9ce06d3 Mon Sep 17 00:00:00 2001 From: ras0219 <533828+ras0219@users.noreply.github.com> Date: Mon, 7 Dec 2020 18:17:19 -0800 Subject: [vcpkg_fixup_pkgconfig] Handle spaces in path, do not validate individual libraries (#13126) --- docs/maintainers/vcpkg_fixup_pkgconfig.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/maintainers/vcpkg_fixup_pkgconfig.md b/docs/maintainers/vcpkg_fixup_pkgconfig.md index 48870e972..70b4fb124 100644 --- a/docs/maintainers/vcpkg_fixup_pkgconfig.md +++ b/docs/maintainers/vcpkg_fixup_pkgconfig.md @@ -7,8 +7,6 @@ Fix common paths in *.pc files and make everything relativ to $(prefix) vcpkg_fixup_pkgconfig( [RELEASE_FILES ...] [DEBUG_FILES ...] - [SYSTEM_LIBRARIES ...] - [IGNORE_FLAGS ] [SKIP_CHECK] ) ``` @@ -22,21 +20,24 @@ Defaults to every *.pc file in the folder ${CURRENT_PACKAGES_DIR} without ${CURR Specifies a list of files to apply the fixes for debug paths. Defaults to every *.pc file in the folder ${CURRENT_PACKAGES_DIR}/debug/ -### SYSTEM_LIBRARIES -If the *.pc file contains system libraries outside vcpkg these need to be listed here. -VCPKG checks every -l flag for the existence of the required library within vcpkg. +### SKIP_CHECK +Skips the library checks in vcpkg_fixup_pkgconfig. Only use if the script itself has unhandled cases. -### IGNORE_FLAGS -If the *.pc file contains flags in the lib field which are not libraries. These can be listed here +### SYSTEM_PACKAGES (deprecated) +This argument has been deprecated and has no effect. -### SKIP_CHECK -Skips the library checks in vcpkg_fixup_pkgconfig. Only use if the script itself has unhandled cases. +### SYSTEM_LIBRARIES (deprecated) +This argument has been deprecated and has no effect. + +### IGNORE_FLAGS (deprecated) +This argument has been deprecated and has no effect. ## Notes Still work in progress. If there are more cases which can be handled here feel free to add them ## Examples -Just call `vcpkg_fixup_pkgconfig()` after any install step which installs *.pc files. + +* [brotli](https://github.com/Microsoft/vcpkg/blob/master/ports/brotli/portfile.cmake) ## Source [scripts/cmake/vcpkg_fixup_pkgconfig.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_fixup_pkgconfig.cmake) -- cgit v1.2.3