File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ if(ADIOS_FOUND)
181181 message (STATUS "ADIOS DIRS to look for libs: ${ADIOS_LIBRARY_DIRS} " )
182182
183183 # parse all -lname libraries and find an absolute path for them
184- string (REGEX MATCHALL " -l([A-Za-z_0-9\\ .- ]+)" _ADIOS_LIBS " ${ADIOS_LINKFLAGS} " )
184+ string (REGEX MATCHALL " -l([A-Za-z_0-9\\ .\\ - \\ + ]+)" _ADIOS_LIBS " ${ADIOS_LINKFLAGS} " )
185185 foreach (_LIB ${_ADIOS_LIBS} )
186186 string (REPLACE " -l" "" _LIB ${_LIB} )
187187
@@ -203,7 +203,7 @@ if(ADIOS_FOUND)
203203 endforeach ()
204204
205205 #add libraries which are already using cmake format
206- string (REGEX MATCHALL "/([A-Za-z_0-9/\\ .- ]+)\\ .([a|so]+)" _ADIOS_LIBS_SUB "${ADIOS_LINKFLAGS} " )
206+ string (REGEX MATCHALL "/([A-Za-z_0-9/\\ .\\ - \\ + ]+)\\ .([a|so]+)" _ADIOS_LIBS_SUB "${ADIOS_LINKFLAGS} " )
207207 foreach (foo ${_ADIOS_LIBS_SUB} )
208208 if (EXISTS ${foo} )
209209 message ("Appending: ${foo} " )
You can’t perform that action at this time.
0 commit comments