Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-03-17 13:22:31


Author: dgregor
Date: 2008-03-17 13:22:31 EDT (Mon, 17 Mar 2008)
New Revision: 43678
URL: http://svn.boost.org/trac/boost/changeset/43678

Log:
Don't use cdr in the FindMPI CMake module
Text files modified:
   branches/CMake/release/tools/build/CMake/FindMPI.cmake | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: branches/CMake/release/tools/build/CMake/FindMPI.cmake
==============================================================================
--- branches/CMake/release/tools/build/CMake/FindMPI.cmake (original)
+++ branches/CMake/release/tools/build/CMake/FindMPI.cmake 2008-03-17 13:22:31 EDT (Mon, 17 Mar 2008)
@@ -153,7 +153,8 @@
     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 1)
   else (MPI_NUMLIBS GREATER 1)
     set(MPI_EXTRA_LIBRARY "MPI_EXTRA_LIBRARY-NOTFOUND")
   endif (MPI_NUMLIBS GREATER 1)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk