diff options
| author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-07-07 02:42:51 +0200 |
|---|---|---|
| committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-07-07 02:42:51 +0200 |
| commit | 2ec03a7c95155976a7dcbc15a3b23b88081fc597 (patch) | |
| tree | 4de528e9866e852019d7432182baf48c4a27d489 /dev-util/cmake/files/cmake-2.8.1-mpi.patch | |
| parent | 661f742f14f726da9ef88a57034b1659c27b060e (diff) | |
| download | kde-2ec03a7c95155976a7dcbc15a3b23b88081fc597.tar.gz kde-2ec03a7c95155976a7dcbc15a3b23b88081fc597.tar.bz2 kde-2ec03a7c95155976a7dcbc15a3b23b88081fc597.zip | |
[dev-util/cmake] Move fix to tree
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.1-mpi.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.8.1-mpi.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.1-mpi.patch b/dev-util/cmake/files/cmake-2.8.1-mpi.patch deleted file mode 100644 index 67f1001464d..00000000000 --- a/dev-util/cmake/files/cmake-2.8.1-mpi.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake -index 481b0e9..43e97e8 100644 ---- a/Modules/FindMPI.cmake -+++ b/Modules/FindMPI.cmake -@@ -263,13 +263,13 @@ elseif (MPI_COMPILE_CMDLINE) - - # Extract the set of libraries to link against from the link command - # line -- string(REGEX MATCHALL "-l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}") -+ string(REGEX MATCHALL " -l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}") - - # Determine full path names for all of the libraries that one needs - # to link against in an MPI program - set(MPI_LIBRARIES) - foreach(LIB ${MPI_LIBNAMES}) -- string(REGEX REPLACE "^-l" "" LIB ${LIB}) -+ string(REGEX REPLACE "^ -l" "" LIB ${LIB}) - set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE) - find_library(MPI_LIB ${LIB} HINTS ${MPI_LINK_PATH}) - if (MPI_LIB) |
