diff --git a/cmake/modules/FindGMP.cmake b/cmake/modules/FindGMP.cmake index 49bd9a6e8f37c4b12356326462c113224bb2a5f9..0b416dae7e7b1f0373adfd77ed876837e3950afd 100644 --- a/cmake/modules/FindGMP.cmake +++ b/cmake/modules/FindGMP.cmake @@ -88,4 +88,5 @@ if(HAVE_GMP) foreach(dir ${GMP_INCLUDE_DIR}) set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") endforeach() + set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${GMP_LIB}" "${GMPXX_LIB}") endif() diff --git a/cmake/modules/FindMETIS.cmake b/cmake/modules/FindMETIS.cmake index 1a084e69df684c45d21e57fe8ee2c69e03715586..3c7d9807c35d1a8ce71d9ef6ec3fc4df0de1d482 100644 --- a/cmake/modules/FindMETIS.cmake +++ b/cmake/modules/FindMETIS.cmake @@ -92,4 +92,5 @@ if(METIS_FOUND) foreach(dir ${METIS_INCLUDE_DIRS}) set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") endforeach() + set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${METIS_LIBRARIES}") endif() diff --git a/cmake/modules/FindParMETIS.cmake b/cmake/modules/FindParMETIS.cmake index 808412aa0f6d195df3cc63c192c6fa120b28ee72..ec5bb6b88ce3636988ecae3ea4db68e9d4a5f29c 100644 --- a/cmake/modules/FindParMETIS.cmake +++ b/cmake/modules/FindParMETIS.cmake @@ -103,4 +103,5 @@ if(PARMETIS_FOUND) foreach(dir ${PARMETIS_INCLUDE_DIRS}) set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") endforeach() -endif() \ No newline at end of file + set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${PARMETIS_LIBRARIES}") +endif() diff --git a/cmake/modules/FindUMFPack.cmake b/cmake/modules/FindUMFPack.cmake index 322c4d00f3459640f2a7ec901abf3e3b9ddbba55..2fef792362c31290a7b3cdf7f4c2056f7215288b 100644 --- a/cmake/modules/FindUMFPack.cmake +++ b/cmake/modules/FindUMFPack.cmake @@ -100,4 +100,5 @@ if(UMFPACK_FOUND) foreach(dir "${UMFPACK_INCLUDE_DIRS}") set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}") endforeach() + set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${UMFPACK_LIBRARIES}") endif()