mirror of https://github.com/CGAL/cgal
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:
parent
d71f2c6fd1
commit
b5e7ffdeea
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue