Skip to content

Commit a078cf9

Browse files
committed
Add an example in Basiv_viewer to draw a segment
1 parent 33a2a25 commit a078cf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Basic_viewer/examples/Basic_viewer/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ create_single_source_cgal_program("draw_lcc.cpp")
1818
create_single_source_cgal_program("draw_surface_mesh_height.cpp")
1919
create_single_source_cgal_program("draw_surface_mesh_small_faces.cpp")
2020
create_single_source_cgal_program("draw_surface_mesh_vcolor.cpp")
21+
create_single_source_cgal_program("draw_segment.cpp")
2122

2223
if(CGAL_Qt6_FOUND)
2324
#link it with the required CGAL libraries
2425
target_link_libraries(draw_lcc PRIVATE CGAL::CGAL_Basic_viewer)
2526
target_link_libraries(draw_surface_mesh_height PRIVATE CGAL::CGAL_Basic_viewer)
2627
target_link_libraries(draw_surface_mesh_small_faces PRIVATE CGAL::CGAL_Basic_viewer)
2728
target_link_libraries(draw_surface_mesh_vcolor PRIVATE CGAL::CGAL_Basic_viewer)
29+
target_link_libraries(draw_segment PRIVATE CGAL::CGAL_Basic_viewer)
2830
if(TARGET CGAL::Eigen3_support)
2931
create_single_source_cgal_program("draw_mesh_and_points.cpp")
3032
create_single_source_cgal_program("draw_several_windows.cpp")

0 commit comments

Comments
 (0)