mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 22:28:54 +00:00
cmake: Use C++latest everywhere on MSVC.
This commit is contained in:
parent
dbee810a04
commit
89fadd26a6
7 changed files with 33 additions and 17 deletions
4
Externals/WIL/tests/cpplatest/CMakeLists.txt
vendored
4
Externals/WIL/tests/cpplatest/CMakeLists.txt
vendored
|
@ -1,7 +1,9 @@
|
|||
|
||||
# Compilers often don't use the latest C++ standard as the default. Periodically update this value (possibly conditioned
|
||||
# on compiler) as new standards are ratified/support is available
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
if (NOT MSVC)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
endif()
|
||||
|
||||
project(witest.cpplatest)
|
||||
add_executable(witest.cpplatest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue