Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
6ab66863
Commit
6ab66863
authored
Nov 14, 2015
by
Naumann, Andreas
Browse files
do not need the parmetis library when building amdis on linux
parent
a8ff201e
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/CMakeLists.txt
View file @
6ab66863
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment