#-----------------------------------------------------------------------------
# HDFJAVA Config file for compiling against HDFJAVA build directory
#-----------------------------------------------------------------------------
get_filename_component (SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

#-----------------------------------------------------------------------------
# User Options
#-----------------------------------------------------------------------------
set (HDF_ENABLE_PARALLEL @HDF_ENABLE_PARALLEL@)
set (BUILD_SHARED_LIBS       @BUILD_SHARED_LIBS@)
set (HDF_ENABLE_JPEG_LIB_SUPPORT @HDF_ENABLE_JPEG_LIB_SUPPORT@)
set (HDF_ENABLE_Z_LIB_SUPPORT @HDF_ENABLE_Z_LIB_SUPPORT@)
set (HDF_ENABLE_SZIP_SUPPORT  @HDF_ENABLE_SZIP_SUPPORT@)
set (HDF_ENABLE_SZIP_ENCODING @HDF_ENABLE_SZIP_ENCODING@)

#-----------------------------------------------------------------------------
# Directories
#-----------------------------------------------------------------------------
set (HDFJAVA_INCLUDE_DIRS "@HDFJAVA_INCLUDES_BUILD_TIME@")

#-----------------------------------------------------------------------------
# Version Strings
#-----------------------------------------------------------------------------
set (HDFJAVA_VERSION_STRING @HDFJAVA_PACKAGE_VERSION@)
set (HDFJAVA_VERSION_MAJOR  @HDFJAVA_PACKAGE_VERSION_MAJOR@)
set (HDFJAVA_VERSION_MINOR  @HDFJAVA_PACKAGE_VERSION_MINOR@)

#-----------------------------------------------------------------------------
# Don't include targets if this file is being picked up by another
# project which has already build HDFJAVA as a subproject
#-----------------------------------------------------------------------------
if (NOT TARGET "@HDFJAVA_PACKAGE@")
  include (${SELF_DIR}/@HDFJAVA_PACKAGE@@HDF_PACKAGE_EXT@-targets.cmake)
endif (NOT TARGET "@HDFJAVA_PACKAGE@")
