-- Fix configure with CMake 4 by raising the minimum required CMake version
-- from 3.0 to 3.5. CMake 4 no longer supports compatibility with CMake versions below 3.5.

--- external/pelib/CMakeLists.txt.orig	2026-09-28 07:53:33 UTC
+++ external/pelib/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 
 project(PElib LANGUAGES Fortran VERSION 1.4.3)
 
