mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
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.
This commit is contained in:
parent
08538dd137
commit
829a9160c3
@ -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…
Reference in New Issue
Block a user