1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 01:19:59 +00:00

Merge branch 'msvc_cpp_version' into 'master'

Enable __cplusplus for MSVC

See merge request OpenMW/openmw!3611
This commit is contained in:
Evil Eye 2023-11-24 16:44:13 +00:00
commit 47d176e6ed

View File

@ -180,6 +180,8 @@ if (MSVC)
# 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
add_compile_options(/bigobj)
add_compile_options(/Zc:__cplusplus)
endif()
# Set up common paths