diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-24 19:41:16 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-24 19:41:16 (GMT) |
commit | a8ecf11edf1b249b1a6add91ee0a0ea6c5fffcbf (patch) | |
tree | 9f40bb7b2a43c15fd6cad3af4822a5f47cfd1e58 | |
parent | 1727e6d9321379b17e2c29d5eb7c4336cd21aab6 (diff) | |
download | CMake-a8ecf11edf1b249b1a6add91ee0a0ea6c5fffcbf.zip CMake-a8ecf11edf1b249b1a6add91ee0a0ea6c5fffcbf.tar.gz CMake-a8ecf11edf1b249b1a6add91ee0a0ea6c5fffcbf.tar.bz2 |
ENH: remove use of undefined cdr
-rw-r--r-- | Modules/FindMPI.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 815cda8..627effc 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -148,7 +148,8 @@ elseif (MPI_COMPILE_CMDLINE) set(MPI_LIBRARY "MPI_LIBRARY-NOTFOUND") endif (MPI_NUMLIBS GREATER 0) if (MPI_NUMLIBS GREATER 1) - cdr(MPI_EXTRA_LIBRARY ${MPI_LIBRARIES}) + set(MPI_EXTRA_LIBRARY ${MPI_LIBRARIES}) + list(REMOVE_AT MPI_EXTRA_LIBRARY 0) else (MPI_NUMLIBS GREATER 1) set(MPI_EXTRA_LIBRARY "MPI_EXTRA_LIBRARY-NOTFOUND") endif (MPI_NUMLIBS GREATER 1) |