Merge branch 'msvc_cpp_version' into 'master'

Enable __cplusplus for MSVC

See merge request OpenMW/openmw!3611
macos_ci_fix
Evil Eye 1 year ago
commit 47d176e6ed

@ -180,6 +180,8 @@ if (MSVC)
# there should be no relevant downsides to having it on: # there should be no relevant downsides to having it on:
# https://docs.microsoft.com/en-us/cpp/build/reference/bigobj-increase-number-of-sections-in-dot-obj-file # https://docs.microsoft.com/en-us/cpp/build/reference/bigobj-increase-number-of-sections-in-dot-obj-file
add_compile_options(/bigobj) add_compile_options(/bigobj)
add_compile_options(/Zc:__cplusplus)
endif() endif()
# Set up common paths # Set up common paths

Loading…
Cancel
Save