Skip to content

Modernized CMakeLists.txt, removed deprecated CGAL macros, made LEDA-…#4

Open
DhruvTotala wants to merge 1 commit intovissarion:developfrom
DhruvTotala:fix-modern-cmake
Open

Modernized CMakeLists.txt, removed deprecated CGAL macros, made LEDA-…#4
DhruvTotala wants to merge 1 commit intovissarion:developfrom
DhruvTotala:fix-modern-cmake

Conversation

@DhruvTotala
Copy link

This pull request updates and cleans up the CMake build configuration to make the project compatible with modern CMake and CGAL versions.

The original build system relied on deprecated CGAL helper macros and older CMake practices, which caused build issues on newer systems. This update replaces those legacy patterns with modern, target-based CMake commands to improve maintainability and portability.
Additionally, the build previously required the LEDA library unconditionally. Since LEDA is not commonly available and caused compilation failures, this change makes LEDA optional. If LEDA is not found, LEDA-dependent targets are skipped, allowing the rest of the project to build successfully.

These changes make the project easier to compile on modern Linux environments and improve overall build reliability without modifying the core functionality.
The build was tested on Ubuntu 22.04 (WSL) using CGAL 5.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant