From d94d86b8f449e34f9d26e90d42cc7af9ee0f8720 Mon Sep 17 00:00:00 2001 From: Dylan Jayatilaka Date: Wed, 8 May 2024 18:24:25 +0200 Subject: [PATCH] Removed annoying cmake version warnings; all compiling on gfortran-13 on new HP litebook/Ubuntu 24.04 LTS --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a6d62d5..14016a15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ # CMake -cmake_minimum_required(VERSION 3.6.0) +cmake_minimum_required(VERSION 3.6...3.28) +cmake_policy(SET CMP0110 OLD) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) # Install where?