Xcode: Internally uses -S instead of -H to specify source directory

This was accidentally left out of commit de962cc00d (CMake: Internally
uses -S instead of -H to specify source directory, 2018-09-06,
v3.13.0-rc1~76^2~1).
This commit is contained in:
Brad King 2023-05-30 17:22:15 -04:00
parent 305527f5c6
commit e0b48284a1

View File

@ -756,7 +756,7 @@ void cmGlobalXCodeGenerator::CreateReRunCMakeFile(
makefileStream << "\t" makefileStream << "\t"
<< this->ConvertToRelativeForMake( << this->ConvertToRelativeForMake(
cmSystemTools::GetCMakeCommand()) cmSystemTools::GetCMakeCommand())
<< " -H" << " -S"
<< this->ConvertToRelativeForMake(root->GetSourceDirectory()) << this->ConvertToRelativeForMake(root->GetSourceDirectory())
<< " -B" << " -B"
<< this->ConvertToRelativeForMake(root->GetBinaryDirectory()) << this->ConvertToRelativeForMake(root->GetBinaryDirectory())