diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/hdf5-config.cmake.build.in | 3 | ||||
-rw-r--r-- | config/cmake/hdf5-config.cmake.install.in | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/config/cmake/hdf5-config.cmake.build.in b/config/cmake/hdf5-config.cmake.build.in index ecbde48..32bab7c 100644 --- a/config/cmake/hdf5-config.cmake.build.in +++ b/config/cmake/hdf5-config.cmake.build.in @@ -30,7 +30,7 @@ IF (HDF5_BUILD_HL_LIB) ENDIF (HDF5_BUILD_HL_LIB)
IF (HDF5_BUILD_TOOLS)
- SET (HDF5_INCLUDE_DIR_CPP ${HDF5_INCLUDE_DIR} )
+ SET (HDF5_INCLUDE_DIR_TOOLS ${HDF5_INCLUDE_DIR} )
ENDIF (HDF5_BUILD_TOOLS)
#-----------------------------------------------------------------------------
@@ -45,6 +45,5 @@ SET (HDF5_VERSION_MINOR @HDF5_VERSION_MINOR@) # project which has already build hdf5 as a subproject
#-----------------------------------------------------------------------------
IF (NOT TARGET "hdf5")
- GET_FILENAME_COMPONENT (SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
INCLUDE (${SELF_DIR}/hdf5-targets.cmake)
ENDIF (NOT TARGET "hdf5")
diff --git a/config/cmake/hdf5-config.cmake.install.in b/config/cmake/hdf5-config.cmake.install.in index 4fda6e8..ba5ba9a 100644 --- a/config/cmake/hdf5-config.cmake.install.in +++ b/config/cmake/hdf5-config.cmake.install.in @@ -30,7 +30,7 @@ IF (HDF5_BUILD_HL_LIB) ENDIF (HDF5_BUILD_HL_LIB)
IF (HDF5_BUILD_TOOLS)
- SET (HDF5_INCLUDE_DIR_CPP "@CMAKE_INSTALL_PREFIX@/include/tools" )
+ SET (HDF5_INCLUDE_DIR_TOOLS "@CMAKE_INSTALL_PREFIX@/include/tools" )
ENDIF (HDF5_BUILD_TOOLS)
#-----------------------------------------------------------------------------
|