mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 08:28:04 +08:00
f44d4c169f
* [docs] link to new functions in deprecated warnings * [docs] add deprecation messages to portfile-functions.md * [docs] also update documentation in .cmake files * [docs] introduce new directive DEPRECATED BY in the documentation generation script and use that directive * Trigger Build * Trigger Build * Trigger Build
19 lines
601 B
Markdown
19 lines
601 B
Markdown
# vcpkg_apply_patches
|
|
|
|
**This function has been deprecated in favor of the `PATCHES` argument to [`vcpkg_from_github()`](vcpkg_from_github.md) et al.**
|
|
|
|
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_apply_patches.md).
|
|
|
|
Apply a set of patches to a source tree.
|
|
|
|
```cmake
|
|
vcpkg_apply_patches(
|
|
SOURCE_PATH <${SOURCE_PATH}>
|
|
[QUIET]
|
|
PATCHES <patch1.patch>...
|
|
)
|
|
```
|
|
|
|
## Source
|
|
[scripts/cmake/vcpkg\_apply\_patches.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_apply_patches.cmake)
|