aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/execute_process.cmake
diff options
context:
space:
mode:
authorzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
committerzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
commit108faffff4c995bc36c08695f72c14ae0f21163c (patch)
tree88a01a6076f142e4ad1b6002f4c7dc3730aa50ca /scripts/cmake/execute_process.cmake
parent7fd21c5d827c2d77b21270646c2fe53704245747 (diff)
parent4cffadc18891aa6cc5a512cf500ad468c54cd3d0 (diff)
downloadvcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.tar.gz
vcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.zip
Merge remote-tracking branch 'upstream/master' into wxchartdir
Diffstat (limited to 'scripts/cmake/execute_process.cmake')
-rw-r--r--scripts/cmake/execute_process.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/cmake/execute_process.cmake b/scripts/cmake/execute_process.cmake
index 6d9bd6cfc..51f6ad160 100644
--- a/scripts/cmake/execute_process.cmake
+++ b/scripts/cmake/execute_process.cmake
@@ -9,12 +9,12 @@ if (NOT DEFINED OVERRIDEN_EXECUTE_PROCESS)
set(OVERRIDEN_EXECUTE_PROCESS ON)
if (DEFINED VCPKG_DOWNLOAD_MODE)
- function(execute_process)
+ macro(execute_process)
message(FATAL_ERROR "This command cannot be executed in Download Mode.\nHalting portfile execution.\n")
- endfunction()
+ endmacro()
else()
- function(execute_process)
+ macro(execute_process)
_execute_process(${ARGV})
- endfunction()
+ endmacro()
endif()
endif() \ No newline at end of file