diff options
author | Brad King <brad.king@kitware.com> | 2023-05-30 21:22:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-30 21:22:15 (GMT) |
commit | e0b48284a1beaef7f5a49073c8d4684418476ae1 (patch) | |
tree | e57b0a358bc8ef7dce771615e126229824dfc60a /Source | |
parent | 305527f5c6d30123fa15a30e651427539e5c6551 (diff) | |
download | CMake-e0b48284a1beaef7f5a49073c8d4684418476ae1.zip CMake-e0b48284a1beaef7f5a49073c8d4684418476ae1.tar.gz CMake-e0b48284a1beaef7f5a49073c8d4684418476ae1.tar.bz2 |
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).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |