From 9fbf80cffa64bdcf5c187e5119b7b21bdcfa88b4 Mon Sep 17 00:00:00 2001 From: Christopher Albert Date: Thu, 15 Jan 2026 11:16:46 +0100 Subject: [PATCH] Update CGAL from 5.6.1 to 6.0.1 for GCC 15 compatibility CGAL 5.6.1 has template issues with GCC 15 in boost/graph/iterator.h. CGAL 6.0.1 fixes these compatibility issues. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd00fcc8..e2304dcf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,16 +209,16 @@ if(SIMPLE_ENABLE_CGAL) include(FetchContent) FetchContent_Declare( cgal - URL https://github.com/CGAL/cgal/releases/download/v5.6.1/CGAL-5.6.1.tar.xz + URL https://github.com/CGAL/cgal/releases/download/v6.0.1/CGAL-6.0.1.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE ) FetchContent_GetProperties(cgal) if(NOT cgal_POPULATED) FetchContent_Populate(cgal) endif() - # CGAL 5.x is header-only, just add include path + # CGAL 6.x is header-only, just add include path set(CGAL_INCLUDE_DIR "${cgal_SOURCE_DIR}/include") - message(STATUS "CGAL enabled via FetchContent: 5.6.1 (header-only)") + message(STATUS "CGAL enabled via FetchContent: 6.0.1 (header-only)") message(STATUS "CGAL include dir: ${CGAL_INCLUDE_DIR}") add_compile_definitions(SIMPLE_ENABLE_CGAL) else()