mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:19:41 +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
13 lines
441 B
CMake
13 lines
441 B
CMake
if (NOT DEFINED Z_VCPKG_OVERRIDEN_EXECUTE_PROCESS)
|
|
set(Z_VCPKG_OVERRIDEN_EXECUTE_PROCESS ON)
|
|
|
|
if (DEFINED VCPKG_DOWNLOAD_MODE)
|
|
function(execute_process)
|
|
message(FATAL_ERROR "This command cannot be executed in Download Mode.\nHalting portfile execution.\n")
|
|
endfunction()
|
|
set(Z_VCPKG_EXECUTE_PROCESS_NAME "_execute_process")
|
|
else()
|
|
set(Z_VCPKG_EXECUTE_PROCESS_NAME "execute_process")
|
|
endif()
|
|
endif()
|