mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -06:00
Use a dedicated helper program instead of a Python script. This also avoids an interactive popup on macOS. Fixes: #25973
12 lines
259 B
CMake
12 lines
259 B
CMake
execute_process(COMMAND "${EXIT_CRASH_EXE}"
|
|
COMMAND ${CMAKE_COMMAND} -E true
|
|
RESULT_VARIABLE result
|
|
)
|
|
|
|
if(result EQUAL "0")
|
|
execute_process(COMMAND "${EXIT_CRASH_EXE}"
|
|
COMMAND ${CMAKE_COMMAND} -E true
|
|
COMMAND_ERROR_IS_FATAL LAST
|
|
)
|
|
endif()
|