summaryrefslogtreecommitdiff
path: root/Modules/ExternalProject/customcommand.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/ExternalProject/customcommand.cmake.in')
-rw-r--r--Modules/ExternalProject/customcommand.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/ExternalProject/customcommand.cmake.in b/Modules/ExternalProject/customcommand.cmake.in
new file mode 100644
index 0000000000..d41f31b83e
--- /dev/null
+++ b/Modules/ExternalProject/customcommand.cmake.in
@@ -0,0 +1,8 @@
+
+execute_process(
+ COMMAND @this_command@
+ WORKING_DIRECTORY "@work_dir@"
+ RESULT_VARIABLE result
+ ${capture_output}
+)
+_ep_command_check_result(result)