diff options
| author | 2018-06-05 22:41:28 +0200 | |
|---|---|---|
| committer | 2018-06-05 22:41:28 +0200 | |
| commit | 79de0f8fe8f2b130a2bdf8232cb66f2158f643fb (patch) | |
| tree | 5504bca143aa41d331b46ac735884370c53c5ef4 | |
| parent | Merge pull request #523 from yuzu-emu/revert-507-3616 (diff) | |
| download | yuzu-79de0f8fe8f2b130a2bdf8232cb66f2158f643fb.tar.gz yuzu-79de0f8fe8f2b130a2bdf8232cb66f2158f643fb.tar.xz yuzu-79de0f8fe8f2b130a2bdf8232cb66f2158f643fb.zip | |
Drop /std:c++latest from MSVC command line
CMake already sets it to version 17 in all cases
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 86d2423ed..56743bb1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -124,7 +124,7 @@ else() | |||
| 124 | # /EHsc - C++-only exception handling semantics | 124 | # /EHsc - C++-only exception handling semantics |
| 125 | # /Zc:throwingNew - let codegen assume `operator new` will never return null | 125 | # /Zc:throwingNew - let codegen assume `operator new` will never return null |
| 126 | # /Zc:inline - let codegen omit inline functions in object files | 126 | # /Zc:inline - let codegen omit inline functions in object files |
| 127 | set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /EHsc /std:c++latest /Zc:throwingNew,inline" CACHE STRING "" FORCE) | 127 | set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /EHsc /Zc:throwingNew,inline" CACHE STRING "" FORCE) |
| 128 | 128 | ||
| 129 | # /MDd - Multi-threaded Debug Runtime DLL | 129 | # /MDd - Multi-threaded Debug Runtime DLL |
| 130 | set(CMAKE_C_FLAGS_DEBUG "/Od /MDd" CACHE STRING "" FORCE) | 130 | set(CMAKE_C_FLAGS_DEBUG "/Od /MDd" CACHE STRING "" FORCE) |