--- hdf5-1.8.10-patch1/config/cmake/hdf5-targets.cmake.in.orig 1970-01-01 01:00:00.000000000 +0100 +++ hdf5-1.8.10-patch1/config/cmake/hdf5-targets.cmake.in 2013-04-02 18:10:51.166052034 +0200 @@ -0,0 +1,39 @@ +# Generated by CMake 2.8.10.2 + +IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) + MESSAGE(FATAL_ERROR "CMake >= 2.6.0 required") +ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) +CMAKE_POLICY(PUSH) +CMAKE_POLICY(VERSION 2.6) +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +SET(CMAKE_IMPORT_FILE_VERSION 1) + +# Create imported target hdf5 +ADD_LIBRARY(hdf5 STATIC IMPORTED) + +# Create imported target hdf5_hl +ADD_LIBRARY(hdf5_hl STATIC IMPORTED) + +# Create imported target hdf5_f90cstub +ADD_LIBRARY(hdf5_f90cstub STATIC IMPORTED) + +# Create imported target hdf5_fortran +ADD_LIBRARY(hdf5_fortran STATIC IMPORTED) + +# Create imported target hdf5_cpp +ADD_LIBRARY(hdf5_cpp STATIC IMPORTED) + +# Load information for each installed configuration. +GET_FILENAME_COMPONENT(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) +FILE(GLOB CONFIG_FILES "${_DIR}/hdf5-targets-*.cmake") +FOREACH(f ${CONFIG_FILES}) + INCLUDE(${f}) +ENDFOREACH(f) + +# Commands beyond this point should not need to know the version. +SET(CMAKE_IMPORT_FILE_VERSION) +CMAKE_POLICY(POP) --- hdf5-1.8.10-patch1/config/cmake/hdf5-targets-noconfig.cmake.in.orig 1970-01-01 01:00:00.000000000 +0100 +++ hdf5-1.8.10-patch1/config/cmake/hdf5-targets-noconfig.cmake.in 2013-04-02 18:12:17.399383569 +0200 @@ -0,0 +1,93 @@ +#---------------------------------------------------------------- +# Generated CMake target import file for configuration "". +#---------------------------------------------------------------- + +# Commands may need to know the format version. +SET(CMAKE_IMPORT_FILE_VERSION 1) + +# Compute the installation prefix relative to this file. +GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) +GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) + +# Make sure the targets which have been exported in some other +# export set exist. + +# Import target "hdf5" for configuration "" +SET_PROPERTY(TARGET hdf5 APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +SET_TARGET_PROPERTIES(hdf5 PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "C" + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "m;sz" + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5.so" + ) + +LIST(APPEND _IMPORT_CHECK_TARGETS hdf5 ) +LIST(APPEND _IMPORT_CHECK_FILES_FOR_hdf5 "${_IMPORT_PREFIX}/@lib@/libhdf5.so" ) + +# Make sure the targets which have been exported in some other +# export set exist. + +# Import target "hdf5_hl" for configuration "" +SET_PROPERTY(TARGET hdf5_hl APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +SET_TARGET_PROPERTIES(hdf5_hl PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "C" + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "m;sz" + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_hl.so" + ) + +#LIST(APPEND _IMPORT_CHECK_TARGETS hdf5_hl ) +LIST(APPEND _IMPORT_CHECK_FILES_FOR_hdf5_hl "${_IMPORT_PREFIX}/@lib@/libhdf5_hl.so" ) + +# Make sure the targets which have been exported in some other +# export set exist. + +# Import target "hdf5_fortran" for configuration "" +SET_PROPERTY(TARGET hdf5_fortran APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +SET_TARGET_PROPERTIES(hdf5_fortran PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "Fortran" + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "hdf5_f90cstub;hdf5" + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_fortran.so" + ) + +#LIST(APPEND _IMPORT_CHECK_TARGETS hdf5_fortran ) +LIST(APPEND _IMPORT_CHECK_FILES_FOR_hdf5_fortran "${_IMPORT_PREFIX}/@lib@/libhdf5_fortran.so" ) + +# Make sure the targets which have been exported in some other +# export set exist. + +# Import target "hdf5_cpp" for configuration "" +SET_PROPERTY(TARGET hdf5_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +SET_TARGET_PROPERTIES(hdf5_cpp PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX" + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "hdf5" + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so" + ) + +#LIST(APPEND _IMPORT_CHECK_TARGETS hdf5_cpp ) +LIST(APPEND _IMPORT_CHECK_FILES_FOR_hdf5_cpp "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so" ) + +# Loop over all imported files and verify that they actually exist +FOREACH(target ${_IMPORT_CHECK_TARGETS} ) + FOREACH(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) + IF(NOT EXISTS "${file}" ) + MESSAGE(FATAL_ERROR "The imported target \"${target}\" references the file + \"${file}\" +but this file does not exist. Possible reasons include: +* The file was deleted, renamed, or moved to another location. +* An install or uninstall procedure did not complete successfully. +* The installation package was faulty and contained + \"${CMAKE_CURRENT_LIST_FILE}\" +but not all the files it references. +") + ENDIF() + ENDFOREACH() + UNSET(_IMPORT_CHECK_FILES_FOR_${target}) +ENDFOREACH() +UNSET(_IMPORT_CHECK_TARGETS) + +# Cleanup temporary variables. +SET(_IMPORT_PREFIX) + +# Commands beyond this point should not need to know the version. +SET(CMAKE_IMPORT_FILE_VERSION)