]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/scripts/cmake/execute_process.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / scripts / cmake / execute_process.cmake
1 #[===[.md:
2 # execute_process
3
4 Intercepts all calls to execute_process() inside portfiles and fails when Download Mode
5 is enabled.
6
7 In order to execute a process in Download Mode call `vcpkg_execute_in_download_mode()` instead.
8 #]===]
9
10 if (NOT DEFINED Z_VCPKG_OVERRIDEN_EXECUTE_PROCESS)
11 set(Z_VCPKG_OVERRIDEN_EXECUTE_PROCESS ON)
12
13 if (DEFINED VCPKG_DOWNLOAD_MODE)
14 function(execute_process)
15 message(FATAL_ERROR "This command cannot be executed in Download Mode.\nHalting portfile execution.\n")
16 endfunction()
17 endif()
18 endif()