|
|
@@ -122,10 +122,15 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
|
|
|
cmakeConfigureCommand += "\"";
|
|
|
}
|
|
|
|
|
|
- cmakeConfigureCommand += " \"";
|
|
|
+ cmakeConfigureCommand += " \"-S";
|
|
|
cmakeConfigureCommand += source_dir;
|
|
|
cmakeConfigureCommand += "\"";
|
|
|
|
|
|
+ cmakeConfigureCommand += " \"-B";
|
|
|
+ cmakeConfigureCommand +=
|
|
|
+ this->CTest->GetCTestConfiguration("BuildDirectory");
|
|
|
+ cmakeConfigureCommand += "\"";
|
|
|
+
|
|
|
this->CTest->SetCTestConfiguration("ConfigureCommand",
|
|
|
cmakeConfigureCommand, this->Quiet);
|
|
|
} else {
|