diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-06 16:02:10 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-06 16:02:10 (GMT) |
commit | 65baaa0e37e114cf8e505c10d80ec3efaf3887ad (patch) | |
tree | 88d06d2be424e61c63c45b360f29a86e3a03f8a3 /Source/CPack/WiX | |
parent | 062cfd991faac000d484c74e5af7d65726c655dc (diff) | |
download | CMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.zip CMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.tar.gz CMake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.tar.bz2 |
cmSystemTools::RunSingleCommand: Accept std::string argument
Diffstat (limited to 'Source/CPack/WiX')
-rw-r--r-- | Source/CPack/WiX/cmCPackWIXGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx index 398ebd3..f522ce2 100644 --- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx +++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx @@ -61,9 +61,8 @@ bool cmCPackWIXGenerator::RunWiXCommand(std::string const& command) std::string output; int returnValue = 0; - bool status = cmSystemTools::RunSingleCommand(command.c_str(), &output, - &output, &returnValue, 0, - cmSystemTools::OUTPUT_NONE); + bool status = cmSystemTools::RunSingleCommand( + command, &output, &output, &returnValue, 0, cmSystemTools::OUTPUT_NONE); cmsys::ofstream logFile(logFileName.c_str(), std::ios::app); logFile << command << std::endl; |