Commit e5b4bf57 authored by loring's avatar loring
Browse files

add quotes for cmake 3.0


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@26732 18c085ea-50e0-402c-830e-de6fd14e8384
parent c0989ffa
......@@ -1452,10 +1452,10 @@ FUNCTION(DETECT_MPI_SETTINGS COMP mlibs mflags mlflags mrpath)
FOREACH(MLIB ${MPI_LIBRARIES})
GET_FILENAME_COMPONENT(MLIB_PATH ${MLIB} PATH)
# make sure it is not an implicit path - we need to skip these
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${MLIB_PATH} pidx)
IF(${pidx} EQUAL -1)
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${MLIB_PATH}" pidx)
IF("${pidx}" EQUAL -1)
LIST(APPEND MPI_RPATH ${MLIB_PATH})
ENDIF(${pidx} EQUAL -1)
ENDIF()
ENDFOREACH(MLIB ${MPI_LIBRARIES})
LIST(REMOVE_DUPLICATES MPI_RPATH)
SET(${mrpath} "${MPI_RPATH}" CACHE STRING "Parallel rpath(s)")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment