diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt index c5f78a067bc3404bf7ad9beccb3ab0e09deaab9e..67a454bac006d4efad536a42595644b4a6771366 100644 --- a/MathLib/CMakeLists.txt +++ b/MathLib/CMakeLists.txt @@ -65,6 +65,10 @@ target_link_libraries(MathLib INTERFACE logog ) +if(METIS_FOUND) + target_link_libraries(MathLib INTERFACE ${METIS_LIBRARIES}) +endif() + if(LAPACK_FOUND) target_link_libraries(MathLib INTERFACE ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES}) endif()