Browse Source

bootstrap: fix build on mingw-w64

Define the default code page for EncodingCXX too.
Aleksey Chernov 8 years ago
parent
commit
845f5e3c51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bootstrap

+ 1 - 0
bootstrap

@@ -1419,6 +1419,7 @@ fi
 cmake_c_flags_String="-DKWSYS_STRING_C"
 if ${cmake_system_mingw}; then
   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}"
 fi
 cmake_cxx_flags_SystemTools="