Enable __cplusplus for MSVC

To build OpenSceneGraph with osg::ref_ptr move constructor. This affects only
code in the OpenMW itself including the file defining the constructor.
macos_ci_fix
elsid 1 year ago
parent 08538dd137
commit 829a9160c3
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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

Loading…
Cancel
Save