ports/math/metis/files/patch-programs_CMakeLists.txt
Thierry Thomas ae4da54035 math/metis: switch to PETSc fork
Upstream disapeared, and 2 forks are available, KarypisLab on GitHub and
the PETSc one. ATM PETSc seems more active.

Also enable OPENMP by default where it is available.

Remark: manual.pdf and the graph directory are no more available.
2025-04-20 15:03:36 +02:00

17 lines
496 B
Text

--- programs/CMakeLists.txt.orig 2025-03-31 19:34:42 UTC
+++ programs/CMakeLists.txt
@@ -13,9 +13,14 @@ endforeach(prog)
# target_link_libraries(${prog} metis profiler)
endforeach(prog)
+# Borrowed from metis-edf
+file(GLOB metis_h *.h)
+
if(METIS_INSTALL)
install(TARGETS gpmetis ndmetis mpmetis m2gmetis graphchk cmpfillin
RUNTIME DESTINATION bin)
+# Borrowed from metis-edf
+ install(FILES ${metis_h} DESTINATION include/programs)
endif()
# Try to find subversion revision.