summaryrefslogtreecommitdiff
path: root/math/metis/files/patch-programs_CMakeLists.txt
blob: eacaf62a44b32c9bd9f02c406fa66c37f2197b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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.