Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
b77e07a2
Commit
b77e07a2
authored
Apr 30, 2015
by
PRUVOST Florent
Browse files
add m lib for Metis link test
parent
9c8f4836
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake_modules/morse/find/FindMETIS.cmake
View file @
b77e07a2
...
...
@@ -205,6 +205,10 @@ if(METIS_LIBRARIES)
set
(
REQUIRED_LIBDIRS
"
${
METIS_LIBRARY_DIRS
}
"
)
endif
()
set
(
REQUIRED_LIBS
"
${
METIS_LIBRARIES
}
"
)
# m
if
(
UNIX OR WIN32
)
list
(
APPEND REQUIRED_LIBS
"-lm"
)
endif
()
# set required libraries for link
set
(
CMAKE_REQUIRED_INCLUDES
"
${
REQUIRED_INCDIRS
}
"
)
...
...
cmake_modules/morse/find/FindPARMETIS.cmake
View file @
b77e07a2
...
...
@@ -205,6 +205,10 @@ if(PARMETIS_LIBRARIES)
set
(
REQUIRED_LIBDIRS
"
${
PARMETIS_LIBRARY_DIRS
}
"
)
endif
()
set
(
REQUIRED_LIBS
"
${
PARMETIS_LIBRARIES
}
"
)
# m
if
(
UNIX OR WIN32
)
list
(
APPEND REQUIRED_LIBS
"-lm"
)
endif
()
# set required libraries for link
set
(
CMAKE_REQUIRED_INCLUDES
"
${
REQUIRED_INCDIRS
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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