Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
6ab66863
Commit
6ab66863
authored
Nov 14, 2015
by
Naumann, Andreas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not need the parmetis library when building amdis on linux
parent
a8ff201e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
AMDiS/CMakeLists.txt
AMDiS/CMakeLists.txt
+7
-7
No files found.
AMDiS/CMakeLists.txt
View file @
6ab66863
...
@@ -224,13 +224,13 @@ if(ENABLE_PARALLEL_DOMAIN)
...
@@ -224,13 +224,13 @@ if(ENABLE_PARALLEL_DOMAIN)
message
(
FATAL_ERROR
"Could not find ParMetis header file!"
)
message
(
FATAL_ERROR
"Could not find ParMetis header file!"
)
endif
(
PARMETIS_HEADER_FILE
)
endif
(
PARMETIS_HEADER_FILE
)
find_file
(
PARMETIS_LIB_FILE
"libparmetis.a"
PATH ENV LIBRARY_PATH
)
#
find_file(PARMETIS_LIB_FILE "libparmetis.a" PATH ENV LIBRARY_PATH)
if
(
PARMETIS_LIB_FILE
)
#
if(PARMETIS_LIB_FILE)
get_filename_component
(
PARMETIS_LINK_PATH
"
${
PARMETIS_LIB_FILE
}
"
PATH CACHE
)
#
get_filename_component(PARMETIS_LINK_PATH "${PARMETIS_LIB_FILE}" PATH CACHE)
link_directories
(
${
PARMETIS_LINK_PATH
}
)
#
link_directories(${PARMETIS_LINK_PATH})
else
()
#
else()
message
(
FATAL_ERROR
"Could not find ParMetis library file!"
)
#
message(FATAL_ERROR "Could not find ParMetis library file!")
endif
(
PARMETIS_LIB_FILE
)
#
endif(PARMETIS_LIB_FILE)
...
...
Write
Preview
Markdown
is supported
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