Fix error with P3M3 during check_headers

```
#error "The header '<CGAL/Periodic_3_mesh_3/config.h>' must be included before '<CGAL/Mesh_3/config.h>
```
This commit is contained in:
Laurent Rineau 2022-12-12 12:06:45 +01:00
parent d71f2c6fd1
commit b5e7ffdeea
1 changed files with 1 additions and 0 deletions

View File

@ -1203,6 +1203,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/../${package}/include/${header}"
endif()
endforeach() # loop on packages
#Now check that a cpp file including all documented headers compiles
file(WRITE ${CGAL_BINARY_DIR}/test_headers.cpp "#include <CGAL/Periodic_3_mesh_3/config.h>\n")
foreach(header ${list_of_headers_to_test})
file(APPEND ${CGAL_BINARY_DIR}/test_headers.cpp "#include <${header}>\n")
endforeach() #loop on headers to include in test file