mirror of https://github.com/CGAL/cgal
Surface_mesh example works as well
This commit is contained in:
parent
47683f2dea
commit
b1040de076
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue