summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmProcess.cxx
diff options
context:
space:
mode:
authorDāvis Mosāns <davispuh@gmail.com>2016-11-14 02:05:08 (GMT)
committerDāvis Mosāns <davispuh@gmail.com>2016-11-29 22:38:48 (GMT)
commit076aef8e45a91e83f9a7d879712fd70778d67c92 (patch)
treed9a22fd4cac33ecea83dca50447358e9fe931f81 /Source/CTest/cmProcess.cxx
parent44c978a2dab96b44ed2dd7470f532c4aa4c7da7c (diff)
downloadCMake-076aef8e45a91e83f9a7d879712fd70778d67c92.zip
CMake-076aef8e45a91e83f9a7d879712fd70778d67c92.tar.gz
CMake-076aef8e45a91e83f9a7d879712fd70778d67c92.tar.bz2
Windows: Use UTF-8 for pipes in CMake, CTest and CPack
Applications which process CMake output will need to decode it as UTF-8 instead of console's codepage.
Diffstat (limited to 'Source/CTest/cmProcess.cxx')
-rw-r--r--Source/CTest/cmProcess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx
index 98bd3bb..32ffa6b 100644
--- a/Source/CTest/cmProcess.cxx
+++ b/Source/CTest/cmProcess.cxx
@@ -105,7 +105,7 @@ bool cmProcess::Buffer::GetLast(std::string& line)
int cmProcess::GetNextOutputLine(std::string& line, double timeout)
{
- cmProcessOutput processOutput;
+ cmProcessOutput processOutput(cmProcessOutput::UTF8);
std::string strdata;
for (;;) {
// Look for lines already buffered.