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)
181
181
message (STATUS "ADIOS DIRS to look for libs: ${ADIOS_LIBRARY_DIRS} " )
182
182
183
183
# 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} " )
185
185
foreach (_LIB ${_ADIOS_LIBS} )
186
186
string (REPLACE " -l" "" _LIB ${_LIB} )
187
187
@@ -203,7 +203,7 @@ if(ADIOS_FOUND)
203
203
endforeach ()
204
204
205
205
#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} " )
207
207
foreach (foo ${_ADIOS_LIBS_SUB} )
208
208
if (EXISTS ${foo} )
209
209
message ("Appending: ${foo} " )
You can’t perform that action at this time.
0 commit comments