Commit 6ab66863 authored by Naumann, Andreas's avatar Naumann, Andreas

do not need the parmetis library when building amdis on linux

parent a8ff201e
......@@ -224,13 +224,13 @@ if(ENABLE_PARALLEL_DOMAIN)
message(FATAL_ERROR "Could not find ParMetis header file!")
endif(PARMETIS_HEADER_FILE)
find_file(PARMETIS_LIB_FILE "libparmetis.a" PATH ENV LIBRARY_PATH)
if(PARMETIS_LIB_FILE)
get_filename_component(PARMETIS_LINK_PATH "${PARMETIS_LIB_FILE}" PATH CACHE)
link_directories(${PARMETIS_LINK_PATH})
else()
message(FATAL_ERROR "Could not find ParMetis library file!")
endif(PARMETIS_LIB_FILE)
# find_file(PARMETIS_LIB_FILE "libparmetis.a" PATH ENV LIBRARY_PATH)
# if(PARMETIS_LIB_FILE)
# get_filename_component(PARMETIS_LINK_PATH "${PARMETIS_LIB_FILE}" PATH CACHE)
# link_directories(${PARMETIS_LINK_PATH})
# else()
# message(FATAL_ERROR "Could not find ParMetis library file!")
# endif(PARMETIS_LIB_FILE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment