fix: trying to workaround MSVC preprocessor

This commit is contained in:
ToruNiina
2021-04-02 15:39:23 +09:00
parent bfae1ab86c
commit b4bc704e6e

View File

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