summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process/CommandError.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/execute_process/CommandError.cmake')
-rw-r--r--Tests/RunCMake/execute_process/CommandError.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/CommandError.cmake b/Tests/RunCMake/execute_process/CommandError.cmake
new file mode 100644
index 0000000..da58928
--- /dev/null
+++ b/Tests/RunCMake/execute_process/CommandError.cmake
@@ -0,0 +1,3 @@
+execute_process(COMMAND ${CMAKE_COMMAND} -E true
+ COMMAND_ERROR_IS_FATAL ALL
+)