Xrvitd / CWF

Code of CWF: Consolidating Weak Features in High-quality Mesh Simplification, ACM Transactions on Graphics, SIGGRAPH 2024
https://ruixu.me/html/CWF/index.html
GNU Affero General Public License v3.0
224 stars 14 forks source link

Link against CGAL::CGAL and Eigen3::Eigen #13

Closed afabri closed 1 month ago

afabri commented 1 month ago

I would like to suggest some changes in the CMakeLists.txt files.

include(${CGAL_USE_FILE}) is no longer supported when using CGAL 6.0. Instead we add CGAL::CGAL to target_link_libraries().

We do the same for linking against Eigen3::Eigen

For libigl I added a find_path()

I changed the cxx standard as we use <filesystem>

I commented setting CMAKE_TOOLCHAIN_FILE. Maybe that explains why I have to provide a path for libigl etc,?