Skip to content

Commit

Permalink
Set cmake min version and CXX_STANDARD to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Feb 9, 2020
1 parent 7ea4eb0 commit c78030a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8.2)
cmake_minimum_required(VERSION 3.12.4)

project(rpcs3)

Expand All @@ -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)
Expand Down

0 comments on commit c78030a

Please sign in to comment.