mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
chore: enable to use __cplusplus on MSVC
related: https://github.com/ToruNiina/toml11/issues/112
This commit is contained in:
@@ -37,6 +37,10 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
add_definitions("/Zc:__cplusplus")
|
||||
endif()
|
||||
|
||||
# Set some common directories
|
||||
include(GNUInstallDirs)
|
||||
set(toml11_install_cmake_dir ${CMAKE_INSTALL_LIBDIR}/cmake/toml11)
|
||||
|
||||
Reference in New Issue
Block a user