message: Added additional hints for DS linked libraries
diff: @@ -43,20 +43,28 @@ if(NOT DATASPACES_FOUND)
  ERROR_QUIET
  OUTPUT_STRIP_TRAILING_WHITESPACE)
  string(REPLACE "-L" " " LINK_LIBS_ALL ${DSPACES_CONFIG_STRING})
  - string(REPLACE " -l" ";" LINK_LIBS ${LINK_LIBS_ALL})
  + string(REPLACE " -l" " " LINK_LIBS_B ${LINK_LIBS_ALL})
  + string(REPLACE " " ";" LINK_LIBS ${LINK_LIBS_B})
  set(DATASPACES_LIBRARIES)
  set(DATASPACES_LIBRARY_HINT)
  foreach(LOOP_VAR ${LINK_LIBS})
  + STRING(FIND ${LOOP_VAR} "-u" DEL_FLG)
  + if(("${DEL_FLG}" EQUAL "-1"))
  STRING(FIND ${LOOP_VAR} "/" HINT_FLG)
  if(NOT("${HINT_FLG}" EQUAL "-1"))
  - string(REPLACE "-L" ";" INCLUDE_DIR ${LOOP_VAR})
  list(APPEND DATASPACES_LIBRARY_HINT ${LOOP_VAR})
  else()
  unset(LOCAL_LIBRARY CACHE)
  + unset(LOCAL_LIBRARY-NOTFOUND CACHE)
  STRING(FIND ${LOOP_VAR} "stdc++" CPP_FLG)
  if("${CPP_FLG}" EQUAL "-1")
  find_library(LOCAL_LIBRARY NAMES "${LOOP_VAR}" HINTS ${DATASPACES_LIBRARY_HINT})
  + if(LOCAL_LIBRARY)
  list(APPEND DATASPACES_LIBRARIES ${LOCAL_LIBRARY})
  + else()
  + list(APPEND DATASPACES_LIBRARIES ${LOOP_VAR})
  + endif()
  + endif()
  endif()
  endif()
  endforeach()
  