# LIBMINC CMake configuration file


get_filename_component(LIBMINC_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE)
get_filename_component(LIBMINC_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH )

set(HAVE_MINC2    1)
set(HAVE_EZMINC   @LIBMINC_MINC1_SUPPORT@)
set(HAVE_MINC1    @LIBMINC_MINC1_SUPPORT@)

set(LIBMINC_NIFTI_SUPPORT @LIBMINC_NIFTI_SUPPORT@)

#set(NETCDF_INCLUDE_DIR "@NETCDF_INCLUDE_DIR@")
#set(HDF5_INCLUDE_DIR   "@HDF5_INCLUDE_DIR@")
#set(NIFTI_INCLUDE_DIR  "@NIFTI_INCLUDE_DIR@")

#set(NETCDF_LIBRARY     "@NETCDF_LIBRARY@")
#set(HDF5_LIBRARY       "@HDF5_LIBRARY@")
#set(ZLIB_LIBRARY       "@ZLIB_LIBRARY@")
#set(ZLIB_LIBRARIES     "@ZLIB_LIBRARY@")
#set(NIFTI_LIBRARIES    "@NIFTI_LIBRARIES@")

set(LIBMINC_INCLUDE_DIRS "@LIBMINC_INCLUDE_DIRS_CONFIG@") # ${LIBMINC_INSTALL_PREFIX}/include
set(LIBMINC_LIBRARY_DIRS "@LIBMINC_LIBRARY_DIRS_CONFIG@") # ${LIBMINC_INSTALL_PREFIX}/lib
set(LIBMINC_USE_FILE     "@LIBMINC_USE_FILE_CONFIG@") # ${LIBMINC_INSTALL_PREFIX}/lib/UseLIBMINC.cmake

set(LIBMINC_LIBRARIES    "@LIBMINC_LIBRARIES_CONFIG@")
set(VOLUME_IO_LIBRARIES  "@LIBMINC_LIBRARIES_CONFIG@")
set(EZMINC_LIBRARIES     "@EZMINC_LIBRARIES_CONFIG@")

set(LIBMINC_STATIC_LIBRARIES    "@LIBMINC_STATIC_LIBRARIES_CONFIG@")
set(VOLUME_IO_STATIC_LIBRARIES  "@LIBMINC_STATIC_LIBRARIES_CONFIG@")

set( LIBMINC_FOUND 1 )

# VF: disable for now  
#if( NOT LIBMINC_TARGETS_IMPORTED AND NOT LIBMINC_BINARY_DIR )
#  set( LIBMINC_TARGETS_IMPORTED 1 )
#  include( "${LIBMINC_CMAKE_DIR}/@LIBMINC_EXPORTED_TARGETS@.cmake" )
#endif()  
