issue #8334 Incorrect example in "Documentation/doc/Documentation/Developer_manual/create_and_use_a_cmakelist.txt"

The problem surfaced between the releases CGAL 5.3.2 and CGAL 5.4.4.
The "Documentation/doc/Documentation/Developer_manual/create_and_use_a_cmakelist.txt" had not been adjusted for the changes in "Surface_mesh/examples/Surface_mesh/CMakeLists.txt" i.e.
the changes in its structure and also during the change Qt5 -> Qt6 this was not detected.
This commit is contained in:
albert-github 2024-07-06 10:49:14 +02:00
parent ecbf98e4bb
commit 9fc66c9a26
1 changed files with 5 additions and 2 deletions

View File

@ -33,14 +33,17 @@ This section describes a minimal example of a program that uses \cgal and Qt6 fo
\skip cmake_minimum_required \skip cmake_minimum_required
\until project \until project
\skip #CGAL_Qt6 is needed for the drawing. \skip #CGAL_Qt6 is needed for the drawing.
\until endif() \until find_package
\skip #create the executable of the application \skip #create the executable of the application
\until "draw_surface_mesh.cpp" \until "draw_surface_mesh.cpp"
\skip if(CGAL_Qt6_FOUND) \skip if(CGAL_Qt6_FOUND)
\until target_link_libraries(draw_surface_mesh PUBLIC CGAL::CGAL_Qt6) \until target_link_libraries(draw_surface_mesh PUBLIC CGAL::CGAL_Basic_viewer)
\skip endif \skip endif
\until #end of the file \until #end of the file