
1. COMMAND_ERROR_IS_FATAL ANY will capture errors if the exit code is non zero, there is a timeout or an abnormal exit. 2. COMMAND_ERROR_IS_FATAL LAST will capture if only the last process has an exit code non zero, there is a timeout or an abnormal exit. Fixes: #21562
5 lines
117 B
CMake
5 lines
117 B
CMake
execute_process(COMMAND ${CMAKE_COMMAND} -E true
|
|
COMMAND ${CMAKE_COMMAND} -E true
|
|
COMMAND_ERROR_IS_FATAL ANY
|
|
)
|