mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:39:44 +08:00
7d2449c346
* [docs] Delete embedded documentation in favor of docs/ Drive-by for the helper ports: 1. "documentation": "https://vcpkg.io/en/docs/README.html" 2. "license": "MIT" 3. Use `include_guard(GLOBAL)` in all script files 4. Make sure any persistent variables are saved to the cache * [docs] Restore empty regenerate.ps1 to satisfy Azure Pipelines * [docs] PR comments
18 lines
463 B
CMake
18 lines
463 B
CMake
function(vcpkg_apply_patches)
|
|
z_vcpkg_deprecation_message("vcpkg_apply_patches has been deprecated in favor of the `PATCHES` argument to `vcpkg_from_*`.")
|
|
|
|
cmake_parse_arguments(PARSE_ARGV 0 "arg" "QUIET" "SOURCE_PATH" "PATCHES")
|
|
|
|
if(arg_QUIET)
|
|
set(quiet "QUIET")
|
|
else()
|
|
set(quiet)
|
|
endif()
|
|
|
|
z_vcpkg_apply_patches(
|
|
SOURCE_PATH "${arg_SOURCE_PATH}"
|
|
${quiet}
|
|
PATCHES ${arg_PATCHES}
|
|
)
|
|
endfunction()
|