BUG: Fix CTEST_USE_LAUNCHERS in dashboard scripts
Since CTest does not currently load configuration settings computed at CMake Configure time while running dashboard scripts, the ctest_build command must honor the CTEST_USE_LAUNCHERS option directly.
This commit is contained in:
parent
dc69ed8e99
commit
a0359d3c15
|
@ -133,6 +133,12 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
|
|||
}
|
||||
}
|
||||
|
||||
if(const char* useLaunchers =
|
||||
this->Makefile->GetDefinition("CTEST_USE_LAUNCHERS"))
|
||||
{
|
||||
this->CTest->SetCTestConfiguration("UseLaunchers", useLaunchers);
|
||||
}
|
||||
|
||||
return handler;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue