mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
fix: trying to workaround MSVC preprocessor
This commit is contained in:
@@ -38,8 +38,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_definitions("/Zc:__cplusplus") # define __cplusplus value correctly
|
add_definitions("/Zc:__cplusplus") # define __cplusplus value correctly
|
||||||
add_definitions("/utf-8") # enable to use u8"" literal
|
add_definitions("/utf-8") # enable to use u8"" literal
|
||||||
|
add_definitions("/Zc:preprocessor")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set some common directories
|
# Set some common directories
|
||||||
|
|||||||
Reference in New Issue
Block a user