Skip to content
Snippets Groups Projects
Commit 2df46e46 authored by Dominic Kempf's avatar Dominic Kempf Committed by Christoph Grüninger
Browse files

[CMake] Adjust find scripts to update the ALL_PKG_LIBS property

parent 819714b6
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......@@ -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()
......@@ -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()
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment