ENH: remove use of undefined cdr

This commit is contained in:
Bill Hoffman 2008-03-24 15:41:16 -04:00
parent 1727e6d932
commit a8ecf11edf
1 changed files with 2 additions and 1 deletions

View File

@ -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)