mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-20 01:59:55 +00:00
build(msvc): always assume source files are in UTF-8
Fixes https://github.com/ARMmbed/mbedtls/issues/4205 Signed-off-by: Andrea Pappacoda <[email protected]>
This commit is contained in:
+2
-2
@@ -223,8 +223,8 @@ if(CMAKE_COMPILER_IS_IAR)
|
||||
endif(CMAKE_COMPILER_IS_IAR)
|
||||
|
||||
if(CMAKE_COMPILER_IS_MSVC)
|
||||
# Strictest warnings
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3")
|
||||
# Strictest warnings, UTF-8 source and execution charset
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3 /utf-8")
|
||||
endif(CMAKE_COMPILER_IS_MSVC)
|
||||
|
||||
if(MBEDTLS_FATAL_WARNINGS)
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
Changes
|
||||
* Assume source files are in UTF-8 when using MSVC with CMake.
|
||||
Reference in New Issue
Block a user