# Copyright (c) Lawrence Livermore National Security, LLC and other Ascent
# Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
# other details. No copyright assignment is required to contribute to Ascent.

if(NOT UMPIRE_DIR)
  message(FATAL_ERROR "Umpire support needs explicit UMPIRE_DIR")
endif()

message(STATUS "Looking for Umpire in: ${UMPIRE_DIR}")


find_package(umpire REQUIRED
             NO_DEFAULT_PATH
             PATHS ${UMPIRE_DIR}/share/umpire/cmake)
             
message(STATUS "Found Umpire in: ${UMPIRE_DIR}")
set(UMPIRE_FOUND TRUE)
