diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2018-04-11 20:51:11 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2018-04-12 19:07:16 (GMT) |
commit | bab4bc5f32e14eabcb82e50e48f9109066a50e0a (patch) | |
tree | 4208c7888d2ca1ef40ac336e1ff39c115d52025d /Help/command/get_source_file_property.rst | |
parent | 4984d8433edb05eac446542b561a31edf7a25783 (diff) | |
download | CMake-bab4bc5f32e14eabcb82e50e48f9109066a50e0a.zip CMake-bab4bc5f32e14eabcb82e50e48f9109066a50e0a.tar.gz CMake-bab4bc5f32e14eabcb82e50e48f9109066a50e0a.tar.bz2 |
FindMPI: Fix libname regex to not match the compiler executable
When trying to match full path libraries on the mpicc link line, the
current regex is not strict enough and improperly matches a partial path
to the Xcode compiler path with homebrew mpich. This adjusts the regex
to look for a space preceeding the library name to prevent the first
argument, i.e. the compiler invocation, from being matched, and require
either a space or end-pattern after the library to prevent mismatches with
arguments that contain the library suffix but don't actually end with it.
Diffstat (limited to 'Help/command/get_source_file_property.rst')
0 files changed, 0 insertions, 0 deletions