summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
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())