diff --git a/soh/CMakeLists.txt b/soh/CMakeLists.txt index 90fa3c363..66585e58d 100644 --- a/soh/CMakeLists.txt +++ b/soh/CMakeLists.txt @@ -446,6 +446,7 @@ endif() # Compile and link options ################################################################################ if(MSVC) + target_compile_options(${PROJECT_NAME} PUBLIC "/Zc:__cplusplus") if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64") target_compile_options(${PROJECT_NAME} PRIVATE $<$: