mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 15:29:19 +00:00
VS2015/2017 build fix and enable C++11 features
Patch by KindDragon from google/googletest#811
This commit is contained in:
parent
0fcc625b56
commit
dda7e2cc2c
2 changed files with 6 additions and 4 deletions
2
Externals/gtest/cmake/internal_utils.cmake
vendored
2
Externals/gtest/cmake/internal_utils.cmake
vendored
|
@ -81,8 +81,6 @@ macro(config_compiler_and_linker)
|
|||
# Suppress "unreachable code" warning on VS 2012 and later.
|
||||
# http://stackoverflow.com/questions/3232669 explains the issue.
|
||||
set(cxx_base_flags "${cxx_base_flags} -wd4702")
|
||||
endif()
|
||||
if (NOT (MSVC_VERSION GREATER 1900)) # 1900 is Visual Studio 2015
|
||||
# BigObj required for tests.
|
||||
set(cxx_base_flags "${cxx_base_flags} -bigobj")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue