Commit f8a10245 authored by David Cole's avatar David Cole Committed by Kitware Robot
Browse files

Merge topic 'findmpi_look_in_implicit_dirs'

2f9ad7c6 Fix FindMPI for the intel compiler on linux by looking in implict directories.
parents 7e94e6b5 2f9ad7c6
......@@ -354,6 +354,20 @@ function (interrogate_mpi_compiler lang try_libs)
# Extract the set of libraries to link against from the link command
# line
string(REGEX MATCHALL "(^| )-l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}")
# add the compiler implicit directories because some compilers
# such as the intel compiler have libraries that show up
# in the showme list that can only be found in the implicit
# link directories of the compiler. Do this for C++ and C
# compilers if the implicit link directories are defined.
endif ()
endif ()
# Determine full path names for all of the libraries that one needs
# to link against in an MPI program
Supports Markdown
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