summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAleksey Chernov <valexlin@gmail.com>2017-05-13 19:14:55 +0000
committerBrad King <brad.king@kitware.com>2017-05-15 11:13:07 -0400
commit845f5e3c51809ec4967fd4940985b221c3918e95 (patch)
tree711b5daed55adbb18d9706ce85a282f7e8786e3d /bootstrap
parent8bd6af0d6386d1e0b26ff594b7d42621d67b5985 (diff)
downloadcmake-845f5e3c51809ec4967fd4940985b221c3918e95.tar.gz
bootstrap: fix build on mingw-w64
Define the default code page for EncodingCXX too.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 8063edb19b..b1528cb94d 100755
--- a/bootstrap
+++ b/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="