cmake: Bump minimum required cmake version
Version 3.12 is the minimum that supports the value of 20 for CMAKE_CXX_STANDARD. Also remove /std:c++latest to get rid of compiler logspam
This commit is contained in:
parent
3cb939e70b
commit
a62dc19605
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.8)
|
cmake_minimum_required(VERSION 3.12)
|
||||||
project(dynarmic LANGUAGES C CXX ASM VERSION 6.2.3)
|
project(dynarmic LANGUAGES C CXX ASM VERSION 6.2.3)
|
||||||
|
|
||||||
# Determine if we're built as a subproject (using add_subdirectory)
|
# Determine if we're built as a subproject (using add_subdirectory)
|
||||||
|
@ -45,7 +45,6 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules")
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(DYNARMIC_CXX_FLAGS
|
set(DYNARMIC_CXX_FLAGS
|
||||||
/std:c++latest # CMAKE_CXX_STANDARD has no effect on MSVC until CMake 3.10.
|
|
||||||
/experimental:external
|
/experimental:external
|
||||||
/external:W0
|
/external:W0
|
||||||
/external:anglebrackets
|
/external:anglebrackets
|
||||||
|
|
Loading…
Reference in a new issue