diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-09-06 17:02:09 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2018-09-15 15:25:47 (GMT) |
commit | de962cc00d66a5303e42ba7ea2311b131eaefe18 (patch) | |
tree | 9a7510d6f1065522e1c348470c2523207d4fb787 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | a10d63d5783275f9972aaa86d41071a1ddca7921 (diff) | |
download | CMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.zip CMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.tar.gz CMake-de962cc00d66a5303e42ba7ea2311b131eaefe18.tar.bz2 |
CMake: Internally uses -S instead of -H to specify source directory
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 117d051..ba138c2 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); |