mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue