summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-09-06 13:02:09 -0400
committerRobert Maynard <robert.maynard@kitware.com>2018-09-15 11:25:47 -0400
commitde962cc00d66a5303e42ba7ea2311b131eaefe18 (patch)
tree9a7510d6f1065522e1c348470c2523207d4fb787 /Source/cmGlobalVisualStudio8Generator.cxx
parenta10d63d5783275f9972aaa86d41071a1ddca7921 (diff)
downloadcmake-de962cc00d66a5303e42ba7ea2311b131eaefe18.tar.gz
CMake: Internally uses -S instead of -H to specify source directory
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 117d051759..ba138c22ed 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -177,9 +177,9 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget()
// Create a rule to re-run CMake.
cmCustomCommandLine commandLine;
commandLine.push_back(cmSystemTools::GetCMakeCommand());
- std::string argH = "-H";
- argH += lg->GetSourceDirectory();
- commandLine.push_back(argH);
+ std::string argS = "-S";
+ argS += lg->GetSourceDirectory();
+ commandLine.push_back(argS);
std::string argB = "-B";
argB += lg->GetBinaryDirectory();
commandLine.push_back(argB);