From abf5159572e55cfc6471d5ff7b02fb7a1bf9310a Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sat, 16 Sep 2023 17:23:18 +0200 Subject: [PATCH] enforce CMake >= 3.10 --- base.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.cmake b/base.cmake index c88de6f71..d9e1b2d18 100644 --- a/base.cmake +++ b/base.cmake @@ -119,6 +119,10 @@ # ------ # +if(${CMAKE_VERSION} VERSION_LESS 3.10) + message(FATAL_ERROR "JRL-CMakemodules require CMake >= 3.10") +endif() + set(PROJECT_JRL_CMAKE_MODULE_DIR ${CMAKE_CURRENT_LIST_DIR} CACHE INTERNAL "")