ci: add utf-8 option to MSVC

This commit is contained in:
ToruNiina
2020-09-18 23:58:20 +09:00
parent 8c2560761b
commit 84fb703e04
2 changed files with 2 additions and 15 deletions

View File

@@ -38,7 +38,8 @@ else()
endif()
if(MSVC)
add_definitions("/Zc:__cplusplus")
add_definitions("/Zc:__cplusplus") # define __cplusplus value correctly
add_definitions("/utf-8") # enable to use u8"" literal
endif()
# Set some common directories