diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2016-11-01 22:35:23 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2016-11-02 14:48:34 (GMT) |
commit | baead1e2a8ff7938f6be9c5fc01762edddd2ace9 (patch) | |
tree | 100e2a6a9478a796dc33c31da94ec828239330ef /CMakeLists.txt | |
parent | 713424ad207aa0f5e01f8c16b2ee1c442a91893a (diff) | |
download | CMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.zip CMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.tar.gz CMake-baead1e2a8ff7938f6be9c5fc01762edddd2ace9.tar.bz2 |
Encoding: Remove option to use ANSI code page internally
The switch to use UTF-8 encoding has been defaulted to on for quite some
time since commit v3.2.0-rc1~116^2 (Encoding: Switch to use UTF-8
internally by default on Windows, 2014-12-26).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bc4b4e..a5702e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,12 +66,8 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) include(${CMake_SOURCE_DIR}/Source/Checks/cm_cxx_features.cmake) endif() -# option to set the internal encoding of CMake to UTF-8 -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) -endif() +# set the internal encoding of CMake to UTF-8 +set(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_UTF8) # option to use COMPONENT with install command option(CMake_INSTALL_COMPONENTS "Using components when installing" OFF) |