summaryrefslogtreecommitdiff
path: root/Tests/CTestTest2
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-09 08:01:06 -0500
committerBrad King <brad.king@kitware.com>2017-11-09 08:35:38 -0500
commit9ffb9cb873c08e801abbbc46c9df691d406e43d0 (patch)
tree89e7a89f7d874d1a592539f8f1c44b376beef10c /Tests/CTestTest2
parent4eefad236aad84c1f4ca38fcd3533a0ec7401a3b (diff)
downloadcmake-9ffb9cb873c08e801abbbc46c9df691d406e43d0.tar.gz
Tests: In CTestTest2 configure KWSys encoding to match CMake
During configuration of KWSys by CMake we write UTF-8 content to a string used by KWSys tests. Tell KWSys to interpret it as UTF-8 instead of the ANSI code page.
Diffstat (limited to 'Tests/CTestTest2')
-rw-r--r--Tests/CTestTest2/test.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CTestTest2/test.cmake.in b/Tests/CTestTest2/test.cmake.in
index 825b957d7f..a9bbc527d8 100644
--- a/Tests/CTestTest2/test.cmake.in
+++ b/Tests/CTestTest2/test.cmake.in
@@ -34,6 +34,7 @@ CMAKE_C_COMPILER:STRING=@CMAKE_C_COMPILER@
CMAKE_CXX_COMPILER:STRING=@CMAKE_CXX_COMPILER@
CMAKE_C_COMPILER_ARG1:STRING=@CMAKE_C_COMPILER_ARG1@
CMAKE_CXX_COMPILER_ARG1:STRING=@CMAKE_CXX_COMPILER_ARG1@
+KWSYS_ENCODING_DEFAULT_CODEPAGE:STRING=CP_UTF8
# This one is needed for testing advanced ctest features
CTEST_TEST_KWSYS:BOOL=ON