message: Simplify FindSCR.cmake
diff: @@ -26,35 +26,15 @@ find_path( SCR_INCLUDE_DIRS scr.h
  NO_SYSTEM_ENVIRONMENT_PATH
  NO_CMAKE_SYSTEM_PATH)
  -find_library( SCR_LIBRARY NAMES scr libscr
  - PATHS ${SCR_DIR}/lib64
  - NO_DEFAULT_PATH
  - NO_CMAKE_ENVIRONMENT_PATH
  - NO_CMAKE_PATH
  - NO_SYSTEM_ENVIRONMENT_PATH
  - NO_CMAKE_SYSTEM_PATH)
  -
  -find_library( KVTREE_LIBRARY NAMES kvtree
  - PATHS ${KVTREE_DIR}/lib64
  - NO_DEFAULT_PATH
  - NO_CMAKE_ENVIRONMENT_PATH
  - NO_CMAKE_PATH
  - NO_SYSTEM_ENVIRONMENT_PATH
  - NO_CMAKE_SYSTEM_PATH)
  -
  -find_library( DTCMP_LIBRARY NAMES dtcmp
  - PATHS ${DTCMP_DIR}/lib
  - NO_DEFAULT_PATH
  - NO_CMAKE_ENVIRONMENT_PATH
  - NO_CMAKE_PATH
  - NO_SYSTEM_ENVIRONMENT_PATH
  - NO_CMAKE_SYSTEM_PATH)
  -
  -set(SCR_LIBRARIES ${SCR_LIBRARY} ${KVTREE_LIBRARY} ${DTCMP_LIBRARY})
  +blt_find_libraries(
  + FOUND_LIBS SCR_LIBRARIES
  + NAMES scr kvtree dtcmp
  + REQUIRED TRUE
  + PATHS ${SCR_DIR}/lib ${KVTREE_DIR}/lib ${DTCMP_DIR}/lib )
  include(FindPackageHandleStandardArgs)
  # handle the QUIETLY and REQUIRED arguments and set SCR_FOUND to TRUE
  # if all listed variables are TRUE
  find_package_handle_standard_args(SCR DEFAULT_MSG
  SCR_INCLUDE_DIRS
  - SCR_LIBRARY )
  + SCR_LIBRARIES )
  