mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use /utf-8 for MSVC
This commit is contained in:
parent
218f4a4768
commit
3d450e22ba
|
@ -2769,6 +2769,7 @@ foreach(target ${TARGETS})
|
|||
target_compile_options(${target} PRIVATE /EHsc) # Only catch C++ exceptions with catch.
|
||||
target_compile_options(${target} PRIVATE /GS) # Protect the stack pointer.
|
||||
target_compile_options(${target} PRIVATE /wd4996) # Use of non-_s functions.
|
||||
target_compile_options(${target} PRIVATE /utf-8) # Use UTF-8 for source files.
|
||||
endif()
|
||||
if(OUR_FLAGS_LINK)
|
||||
target_link_libraries(${target} ${OUR_FLAGS_LINK})
|
||||
|
|
Loading…
Reference in a new issue