#-----------------------------------------------------------------------------
#
# XDMFConfig.cmake - XDMF CMake configuration file for external projects.
#
# This file is configured by XDMF and used by the UseXDMF.cmake module
# to load XDMF's settings for an external project.

# Top level for development or install
SET(XDMF_INSTALL_DIR "@XDMF_INSTALL_DIR_CONFIG@")

# The XDMF include file directories.
SET(XDMF_INCLUDE_DIRS "@XDMF_INCLUDE_DIRS_CONFIG@")

# The XDMF library directories.
SET(XDMF_LIBRARY_DIRS "@XDMF_LIBRARY_DIRS_CONFIG@")

# The location of the UseXDMF.cmake file.
SET(XDMF_USE_FILE "@XDMF_USE_FILE@")

# The build settings file.
SET(XDMF_BUILD_SETTINGS_FILE "@XDMF_BUILD_SETTINGS_FILE@")

# The directory containing class list files for each kit.
SET(XDMF_KITS_DIR "@XDMF_KITS_DIR@")

# Utility libraries used by XDMF.
# To include a utility library in another project:
# LINK_DIRECTORIES(${XDMF_***_LIBRARY_PATH})
# TARGET_LINK_LIBRARIES(target ${XDMF_***_LIBRARIES})
SET(XDMF_HDF5_INCLUDE "@XDMF_HDF5_INCLUDE_CONFIG@")
SET(XDMF_HDF5_LIBRARY_PATH "@XDMF_HDF5_LIBRARY_PATH_CONFIG@")
SET(XDMF_HDF5_LIBRARIES "@XDMF_HDF5_LIBRARIES@")
SET(XDMF_SYSTEM_HDF5 "@XDMF_SYSTEM_HDF5@")

SET(XDMF_LIBXML2_INCLUDE "@XDMF_LIBXML2_INCLUDE_DIR_CONFIG@")
SET(XDMF_LIBXML2_LIBRARY_PATH "@XDMF_LIBXML2_LIBRARY_DIR_CONFIG@")
SET(XDMF_LIBXML2_LIBRARIES "@XDMF_LIBXML2_LIBRARIES@")
SET(XDMF_SYSTEM_LIBXML2 "@XDMF_SYSTEM_HDF5@")

SET(XDMF_ZLIB_INCLUDE "@XDMF_ZLIB_INCLUDE_DIR_CONFIG@")
SET(XDMF_ZLIB_LIBRARY_PATH "@XDMF_ZLIB_LIBRARY_DIR_CONFIG@")
SET(XDMF_ZLIB_LIBRARIES "@XDMF_ZLIB_LIBRARIES@")
SET(XDMF_SYSTEM_ZLIB "@XDMF_SYSTEM_ZLIB@")

# The XDMF library dependencies.
IF(NOT XDMF_NO_LIBRARY_DEPENDS)
  INCLUDE("@XDMF_LIBRARY_DEPENDS_FILE@")
ENDIF(NOT XDMF_NO_LIBRARY_DEPENDS)

# Information about this particular XDMF Installation
SET(XDMF_BUILD_MPI "@XDMF_BUILD_MPI@")
SET(XDMF_BUILD_UTILS "@XDMF_BUILD_UTILS@")
SET(XDMF_BUILD_VTK "@XDMF_BUILD_VTK@")
SET(XDMF_WRAP_PYTHON "@XDMF_WRAP_PYTHON@")

IF(XDMF_BUILD_MPI)
  SET(XDMF_MPI_LIBRARIES "@XDMF_MPI_LIBRARIES@")
  SET(XDMF_MPI_INCLUDE_PATH "@XDMF_MPI_INCLUDE_PATH@")
ENDIF(XDMF_BUILD_MPI)

IF(XDMF_BUILD_UTILS)
  SET(XDMF_EXODUSII_INCLUDE "@XDMF_EXODUSII_INCLUDE_DIR_CONFIG@")
  SET(XDMF_EXODUSII_LIBRARY_PATH "@XDMF_EXODUSII_LIBRARY_DIR_CONFIG@")
  SET(XDMF_EXODUSII_LIBRARIES "@XDMF_EXODUSII_LIBRARIES@")
  SET(XDMF_METIS_INCLUDE "@XDMF_METIS_INCLUDE_DIR_CONFIG@")
  SET(XDMF_METIS_LIBRARY_PATH "@XDMF_METIS_LIBRARY_DIR_CONFIG@")
  SET(XDMF_METIS_LIBRARIES "@XDMF_METIS_LIBRARIES@")
  SET(XDMF_NETCDF_INCLUDE "@XDMF_NETCDF_INCLUDE_DIR_CONFIG@")
  SET(XDMF_NETCDF_LIBRARY_PATH "@XDMF_NETCDF_LIBRARY_DIR_CONFIG@")
  SET(XDMF_NETCDF_LIBRARIES "@XDMF_NETCDF_LIBRARIES@")
ENDIF(XDMF_BUILD_UTILS)

IF(XDMF_BUILD_VTK)
  SET(XDMF_VTK_DIR "@VTK_DIR@")
ENDIF(XDMF_BUILD_VTK)
