diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-12-27 04:25:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-16 14:39:32 (GMT) |
commit | cdc29c36084ccfa447f171a25de2336b0bd74edd (patch) | |
tree | bc4b58fe32900739e3602f01d34503792f3346dc /CMakeLists.txt | |
parent | 2ece34516a6c4f99d27c42018b3548d0cb75e72e (diff) | |
download | CMake-cdc29c36084ccfa447f171a25de2336b0bd74edd.zip CMake-cdc29c36084ccfa447f171a25de2336b0bd74edd.tar.gz CMake-cdc29c36084ccfa447f171a25de2336b0bd74edd.tar.bz2 |
Encoding: Switch to use UTF-8 internally by default on Windows.
This fixes several reported bugs about CMake not handling
non-ascii paths on Windows.
Practically, the use of some unicode characters may still
be limited by the build or compiler tools.
For example, a user may be limited by the build tools to
using characters within the Windows ANSI code page (which can
include non-ascii characters in the current system language).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1812b27..33d2ce6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ if(NOT DEFINED CMAKE_CXX_STANDARD) endif() # option to set the internal encoding of CMake to UTF-8 -option(CMAKE_ENCODING_UTF8 "Use UTF-8 encoding internally (experimental)." OFF) +option(CMAKE_ENCODING_UTF8 "Use UTF-8 encoding internally." ON) mark_as_advanced(CMAKE_ENCODING_UTF8) if(CMAKE_ENCODING_UTF8) set(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_UTF8) |