2. CMake version 4 is no longer compatible with CMake versions < 3.5.  But 
the current version on homebrew is 4.0.2.  Sage's CMake is version 3.13.2 
so this issue does not ariise if Sage's cmake spkg is used.  But Sage bends 
over backwards to use whatever libraries are available on the build 
system.  Surely this should apply to build tools as well.

Fortunately, the only spkg that I had to patch to accommodate CMake 4 was 
qhull.  The following patch which just changes the cmake_minimum_required 
argument, fixes it:

*** src/CMakeLists.txt.orig Thu May  8 13:21:24 2025
--- src/CMakeLists.txt Thu May  8 13:25:39 2025
***************
*** 67,74 ****
  # $Id: //main/2019/qhull/CMakeLists.txt#21 $$Change: 3039 $
  # $DateTime: 2020/09/03 21:26:22 $$Author: bbarber $
  
  project(qhull)
- cmake_minimum_required(VERSION 3.0)
  
  # Define qhull_VERSION in README.txt, Announce.txt, qh-get.htm, 
CMakeLists.txt
  #   qhull-zip.sh (twice), qhull-wiki.md, qhull-news.htm, File_id.diz, 
index.htm
--- 67,75 ----
  # $Id: //main/2019/qhull/CMakeLists.txt#21 $$Change: 3039 $
  # $DateTime: 2020/09/03 21:26:22 $$Author: bbarber $
  
+ cmake_minimum_required(VERSION 4.0) 
+ 
  project(qhull)


-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-release/6e12d6e5-fb57-4caf-853f-f7db82293185n%40googlegroups.com.

Reply via email to