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