From e0b48284a1beaef7f5a49073c8d4684418476ae1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 30 May 2023 17:22:15 -0400 Subject: 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). --- Source/cmGlobalXCodeGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 110933e..a1a6028 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -756,7 +756,7 @@ void cmGlobalXCodeGenerator::CreateReRunCMakeFile( makefileStream << "\t" << this->ConvertToRelativeForMake( cmSystemTools::GetCMakeCommand()) - << " -H" + << " -S" << this->ConvertToRelativeForMake(root->GetSourceDirectory()) << " -B" << this->ConvertToRelativeForMake(root->GetBinaryDirectory()) -- cgit v0.12