1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Set cmake min version and CXX_STANDARD to 20

This commit is contained in:
Nekotekina 2020-02-09 14:17:36 +03:00
parent 5d82b0f4c4
commit 1bc9fd2863

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8.2)
cmake_minimum_required(VERSION 3.12.4)
project(rpcs3)
@ -25,11 +25,7 @@ option(USE_VULKAN "Vulkan render backend" ON)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/rpcs3/cmake_modules")
if (MSVC)
set(CMAKE_CXX_STANDARD 20)
else()
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_CXX_STANDARD 20)
include(CheckCXXCompilerFlag)
if (NOT CMAKE_BUILD_TYPE)