From 8375010711a8ebedc61103f9dab7edb47271d85d Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Fri, 4 Jun 2021 16:48:00 +0200 Subject: [PATCH] Remove not needed fatal message (fixing ##8280) --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba535e1656c9b..09c2a85fe364b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -649,11 +649,10 @@ if(testing) endif() endif() -if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.10.0") - if (${CMAKE_MINIMUM_REQUIRED_VERSION} VERSION_GREATER_EQUAL "3.10.0") - message(FATAL_ERROR "Remove this condition") - endif() +if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.10.0") cmake_host_system_information(RESULT PROCESSOR QUERY PROCESSOR_DESCRIPTION) +else() + set(PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR}) endif() message(STATUS "ROOT Configuration \n