summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackProductBuildGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 16:02:10 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 16:02:10 (GMT)
commit65baaa0e37e114cf8e505c10d80ec3efaf3887ad (patch)
tree88d06d2be424e61c63c45b360f29a86e3a03f8a3 /Source/CPack/cmCPackProductBuildGenerator.cxx
parent062cfd991faac000d484c74e5af7d65726c655dc (diff)
downloadCMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.zip
CMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.tar.gz
CMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.tar.bz2
cmSystemTools::RunSingleCommand: Accept std::string argument
Diffstat (limited to 'Source/CPack/cmCPackProductBuildGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackProductBuildGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackProductBuildGenerator.cxx b/Source/CPack/cmCPackProductBuildGenerator.cxx
index a556e0c..94b5b5f 100644
--- a/Source/CPack/cmCPackProductBuildGenerator.cxx
+++ b/Source/CPack/cmCPackProductBuildGenerator.cxx
@@ -145,8 +145,8 @@ bool cmCPackProductBuildGenerator::RunProductBuild(const std::string& command)
std::string output;
int retVal = 1;
bool res = cmSystemTools::RunSingleCommand(
- command.c_str(), &output, &output, &retVal, nullptr,
- this->GeneratorVerbose, cmDuration::zero());
+ command, &output, &output, &retVal, nullptr, this->GeneratorVerbose,
+ cmDuration::zero());
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Done running command" << std::endl);
if (!res || retVal) {
cmGeneratedFileStream ofs(tmpFile);