mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
18 lines
450 B
Diff
18 lines
450 B
Diff
https://github.com/KarypisLab/METIS/pull/52
|
|
|
|
diff --git libmetis/CMakeLists.txt libmetis/CMakeLists.txt
|
|
index fc6cec6..758835f 100644
|
|
--- libmetis/CMakeLists.txt
|
|
+++ libmetis/CMakeLists.txt
|
|
@@ -7,6 +7,10 @@ file(GLOB metis_sources *.c)
|
|
# Build libmetis.
|
|
add_library(metis ${METIS_LIBRARY_TYPE} ${metis_sources})
|
|
|
|
+if(SHARED)
|
|
+ target_link_libraries(metis GKlib)
|
|
+endif()
|
|
+
|
|
if(METIS_INSTALL)
|
|
install(TARGETS metis
|
|
LIBRARY DESTINATION lib
|