Update cmake required version to 3.1

`set(CMAKE_CXX_STANDARD 11)` only works properly starting from cmake 3.1, see #3174
This commit is contained in:
SChernykh 2022-12-09 09:21:40 +01:00
parent 354b9ddb34
commit 25decd1b7f

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.1)
project(xmrig)
option(WITH_HWLOC "Enable hwloc support" ON)