mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-26 16:06:48 +00:00
Merge branch 'msvc_cpp_version' into 'master'
Enable __cplusplus for MSVC See merge request OpenMW/openmw!3611
This commit is contained in:
commit
47d176e6ed
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:
|
# 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…
Reference in a new issue