From 80a6c08db1f27f5c2823a9a2da0408dc0e2b15d4 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 19 Sep 2023 10:54:34 +0200 Subject: [PATCH] Apply CMake >= 3.10 policies --- base.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base.cmake b/base.cmake index ec46e83ba..369dfc467 100644 --- a/base.cmake +++ b/base.cmake @@ -119,9 +119,7 @@ # ------ # -if(${CMAKE_VERSION} VERSION_LESS 3.10) - message(FATAL_ERROR "JRL-CMakemodules require CMake >= 3.10") -endif() +cmake_minimum_required(VERSION 3.10) set(PROJECT_JRL_CMAKE_MODULE_DIR ${CMAKE_CURRENT_LIST_DIR}