fix(Build/Windows): For OS locales like CJK (#4912)
This commit is contained in:
@@ -19,6 +19,11 @@ string(REGEX REPLACE "/W[0-4]$" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
|||||||
string(REGEX REPLACE "/W[0-4] " "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
string(REGEX REPLACE "/W[0-4] " "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||||
string(REGEX REPLACE "/W[0-4]$" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
string(REGEX REPLACE "/W[0-4]$" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||||
|
|
||||||
|
# https://tinyurl.com/jxnc4s83
|
||||||
|
target_compile_options(acore-compile-option-interface
|
||||||
|
INTERFACE
|
||||||
|
/utf-8)
|
||||||
|
|
||||||
if(PLATFORM EQUAL 64)
|
if(PLATFORM EQUAL 64)
|
||||||
# This definition is necessary to work around a bug with Intellisense described
|
# This definition is necessary to work around a bug with Intellisense described
|
||||||
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
|
# here: http://tinyurl.com/2cb428. Syntax highlighting is important for proper
|
||||||
|
|||||||
Reference in New Issue
Block a user