Surface_mesh example works as well

This commit is contained in:
Andreas Fabri 2023-04-19 14:46:31 +01:00
parent 47683f2dea
commit b1040de076
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@
cmake_minimum_required(VERSION 3.1...3.23)
project(Surface_mesh_Examples)
#CGAL_Qt5 is needed for the drawing.
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt5)
#CGAL_Qt6 is needed for the drawing.
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
create_single_source_cgal_program("sm_points.cpp")
create_single_source_cgal_program("sm_derivation.cpp")
@ -28,7 +28,7 @@ create_single_source_cgal_program("check_orientation.cpp")
#create the executable of the application
create_single_source_cgal_program("draw_surface_mesh.cpp")
if(CGAL_Qt5_FOUND)
if(CGAL_Qt6_FOUND)
#link it with the required CGAL libraries
target_link_libraries(draw_surface_mesh PUBLIC CGAL::CGAL_Basic_viewer)