aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/execute_process.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cmake/execute_process.cmake')
-rw-r--r--scripts/cmake/execute_process.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cmake/execute_process.cmake b/scripts/cmake/execute_process.cmake
index 206bd95b1..be45604d6 100644
--- a/scripts/cmake/execute_process.cmake
+++ b/scripts/cmake/execute_process.cmake
@@ -14,5 +14,8 @@ if (NOT DEFINED Z_VCPKG_OVERRIDEN_EXECUTE_PROCESS)
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()