Commit d7a52f8c authored by Craig Scott's avatar Craig Scott Committed by Kitware Robot
Browse files

Merge topic 'productbuild-merge-output'

496d22b8

 productbuild: Capture stderr too in CPackProductBuild logs
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2257
parents 8f0b3d2d 496d22b8
Pipeline #111565 passed with stage
in 0 seconds
......@@ -144,10 +144,10 @@ bool cmCPackProductBuildGenerator::RunProductBuild(const std::string& command)
tmpFile += "/ProductBuildOutput.log";
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Execute: " << command << std::endl);
std::string output, error_output;
std::string output;
int retVal = 1;
bool res = cmSystemTools::RunSingleCommand(
command.c_str(), &output, &error_output, &retVal, nullptr,
command.c_str(), &output, &output, &retVal, nullptr,
this->GeneratorVerbose, cmDuration::zero());
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Done running command" << std::endl);
if (!res || retVal) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment