Skip to content

Commit

Permalink
Update cgal version in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
ipadjen committed Feb 5, 2025
1 parent 967ae62 commit aeb6c93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ 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!"
"Please use CGAL version 5.5 or higher")
"Please use CGAL version 6.0.1 or higher")
return()
endif ()

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit aeb6c93

Please sign in to comment.