From 25decd1b7f9ee2dcd082b2975f8e29124498fc15 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 9 Dec 2022 09:21:40 +0100 Subject: [PATCH] Update cmake required version to 3.1 `set(CMAKE_CXX_STANDARD 11)` only works properly starting from cmake 3.1, see #3174 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d8b25d6..a44e672b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)