diff options
author | Johan Björk <phb@spotify.com> | 2011-07-26 07:26:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-07-28 14:42:03 (GMT) |
commit | 856a9e499f299a33cb4f763bf36a75524a03e4f5 (patch) | |
tree | 794e18a7cef0ec581600e271ffd0a7a842d4a6a2 /Source/CPack/cmCPackNSISGenerator.cxx | |
parent | 4096066723ec7dd6f450e1c8da13616c0ca2f124 (diff) | |
download | CMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.zip CMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.tar.gz CMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.tar.bz2 |
RunSingleCommand: Replace verbose boolean with enum
No behaviour change, this prepares for adding a flag to skip the merging
of output streams.
Diffstat (limited to 'Source/CPack/cmCPackNSISGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackNSISGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx index e5fe575..a1f4f2e 100644 --- a/Source/CPack/cmCPackNSISGenerator.cxx +++ b/Source/CPack/cmCPackNSISGenerator.cxx @@ -786,7 +786,8 @@ CreateComponentDescription(cmCPackComponent *component, std::string output; int retVal = -1; int res = cmSystemTools::RunSingleCommand(cmd.c_str(), &output, &retVal, - dirName.c_str(), false, 0); + dirName.c_str(), + cmSystemTools::OUTPUT_NONE, 0); if ( !res || retVal ) { std::string tmpFile = this->GetOption("CPACK_TOPLEVEL_DIRECTORY"); |