mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
fix: trying to workaround MSVC preprocessor
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user