mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
bootstrap: fix build on mingw-w64
Define the default code page for EncodingCXX too.
This commit is contained in:

committed by
Brad King

parent
8bd6af0d63
commit
845f5e3c51
@@ -1419,6 +1419,7 @@ fi
|
|||||||
cmake_c_flags_String="-DKWSYS_STRING_C"
|
cmake_c_flags_String="-DKWSYS_STRING_C"
|
||||||
if ${cmake_system_mingw}; then
|
if ${cmake_system_mingw}; then
|
||||||
cmake_c_flags_EncodingC="-DKWSYS_ENCODING_DEFAULT_CODEPAGE=CP_ACP"
|
cmake_c_flags_EncodingC="-DKWSYS_ENCODING_DEFAULT_CODEPAGE=CP_ACP"
|
||||||
|
cmake_cxx_flags_EncodingCXX="${cmake_c_flags_EncodingC}"
|
||||||
cmake_cxx_flags_cmProcessOutput="${cmake_c_flags_EncodingC}"
|
cmake_cxx_flags_cmProcessOutput="${cmake_c_flags_EncodingC}"
|
||||||
fi
|
fi
|
||||||
cmake_cxx_flags_SystemTools="
|
cmake_cxx_flags_SystemTools="
|
||||||
|
Reference in New Issue
Block a user