aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/execute_process.cmake
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-08-28 11:59:30 -0700
committerGitHub <noreply@github.com>2019-08-28 11:59:30 -0700
commit4b404e8cfbdde4277733adaacc399fa4e1b57320 (patch)
treedd1dfeb91799a4bc09698711a7b72eb5787a5514 /scripts/cmake/execute_process.cmake
parent9510b34f2df298dfe63296a182855e32da33181d (diff)
downloadvcpkg-4b404e8cfbdde4277733adaacc399fa4e1b57320.tar.gz
vcpkg-4b404e8cfbdde4277733adaacc399fa4e1b57320.zip
Revert "[vcpkg install] Enable Download Mode (#7797)" (#7949)
This reverts commit 65d4bc146bf7c1c21989b680497b1f6f9a09c967.
Diffstat (limited to 'scripts/cmake/execute_process.cmake')
-rw-r--r--scripts/cmake/execute_process.cmake19
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/cmake/execute_process.cmake b/scripts/cmake/execute_process.cmake
deleted file mode 100644
index 90198e337..000000000
--- a/scripts/cmake/execute_process.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-## # execute_process
-##
-## Intercepts all calls to execute_process() inside portfiles and fails when Download Mode
-## is enabled.
-##
-## In order to execute a process in Download Mode call `_execute_process()` instead.
-##
-if (NOT DEFINED OVERRIDEN_EXECUTE_PROCESS)
-set(OVERRIDEN_EXECUTE_PROCESS ON)
-
-function(execute_process)
- message(FATAL_ERROR
-[[
- This command cannot be executed in Download Mode.
- Halting portfile execution.
-]])
-endfunction()
-
-endif() \ No newline at end of file