2017-05-25 14:33:16 +08:00
|
|
|
# vcpkg_apply_patches
|
|
|
|
|
2021-05-10 01:47:21 +08:00
|
|
|
**This function has been deprecated in favor of the `PATCHES` argument to [`vcpkg_from_github()`](vcpkg_from_github.md) et al.**
|
2021-03-01 05:17:19 +08:00
|
|
|
|
2021-03-11 01:56:07 +08:00
|
|
|
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_apply_patches.md).
|
2021-03-01 05:17:19 +08:00
|
|
|
|
|
|
|
Apply a set of patches to a source tree.
|
2017-05-25 14:33:16 +08:00
|
|
|
|
|
|
|
```cmake
|
|
|
|
vcpkg_apply_patches(
|
|
|
|
SOURCE_PATH <${SOURCE_PATH}>
|
|
|
|
[QUIET]
|
|
|
|
PATCHES <patch1.patch>...
|
|
|
|
)
|
|
|
|
```
|
|
|
|
|
|
|
|
## Source
|
2021-03-01 05:17:19 +08:00
|
|
|
[scripts/cmake/vcpkg\_apply\_patches.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_apply_patches.cmake)
|