diff options
author | Brad King <brad.king@kitware.com> | 2017-11-09 13:01:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-09 13:35:38 (GMT) |
commit | 9ffb9cb873c08e801abbbc46c9df691d406e43d0 (patch) | |
tree | 89e7a89f7d874d1a592539f8f1c44b376beef10c | |
parent | 4eefad236aad84c1f4ca38fcd3533a0ec7401a3b (diff) | |
download | CMake-9ffb9cb873c08e801abbbc46c9df691d406e43d0.zip CMake-9ffb9cb873c08e801abbbc46c9df691d406e43d0.tar.gz CMake-9ffb9cb873c08e801abbbc46c9df691d406e43d0.tar.bz2 |
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.
-rw-r--r-- | Tests/CTestTest2/test.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CTestTest2/test.cmake.in b/Tests/CTestTest2/test.cmake.in index 825b957..a9bbc52 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 |