From 161955862478318e751652d5ff952c344f042706 Mon Sep 17 00:00:00 2001 From: Akshay Patil Date: Wed, 5 Feb 2025 21:23:19 +0100 Subject: [PATCH 1/2] 1. Fixes CGAL minimum version in CMakeLists.txt 2. Fix libmpfr typo in README.md --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9e605d6..8421852f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ endif (WIN32) # CGAL find_package(CGAL REQUIRED) -if (CGAL_VERSION VERSION_GREATER_EQUAL "5.5") +if (CGAL_VERSION VERSION_GREATER_EQUAL "6.0.1") message(STATUS "Found CGAL version ${CGAL_VERSION}") else() message(FATAL_ERROR "Found CGAL version ${CGAL_VERSION} which is not supported!" diff --git a/README.md b/README.md index 52b962ac..7c271f1f 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ GMP, MFPR, and Eigen are necessary dependencies for CGAL. Dependencies are generally available in Linux distributions, e.g. in Debian/Ubuntu/Mint: ``` -sudo apt-get install libcmpfr-dev libgmp-dev libboost-all-dev libeigen3-dev libomp-dev libgdal-dev +sudo apt-get install libmpfr-dev libgmp-dev libboost-all-dev libeigen3-dev libomp-dev libgdal-dev ``` CGAL can be directly downloaded from the [release page](https://github.com/CGAL/cgal/releases/tag/v5.6.1) (-library). No install is necessary, only the path to the unzipped folder is required (see below). From 33397eb8914a8a16417ec68d1c41ec1234b15798 Mon Sep 17 00:00:00 2001 From: Akshay Patil Date: Wed, 5 Feb 2025 21:26:32 +0100 Subject: [PATCH 2/2] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8421852f..2cf5a81f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ endif (WIN32) # CGAL find_package(CGAL REQUIRED) -if (CGAL_VERSION VERSION_GREATER_EQUAL "6.0.1") +if (CGAL_VERSION VERSION_GREATER_EQUAL "6.0") message(STATUS "Found CGAL version ${CGAL_VERSION}") else() message(FATAL_ERROR "Found CGAL version ${CGAL_VERSION} which is not supported!"