CMakePM: Use CtrlC stub for the CMake process

This makes sure that the CMake process is terminated.

Fixes: QTCREATORBUG-27518
Change-Id: Ibe227f6336be312abbe2517af421856463e9c9e8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Cristian Adam
2022-05-10 19:24:14 +02:00
parent 8be05ca745
commit bef1ace116

View File

@@ -140,6 +140,7 @@ void CMakeProcess::run(const BuildDirParameters &parameters, const QStringList &
"CMake.Configure",
10);
process->setUseCtrlCStub(true);
process->setCommand(commandLine);
emit started();
m_elapsed.start();