diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-09-20 21:02:26 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-09-20 21:02:26 (GMT) |
commit | 7c7b4e3deb555c2d2fc3a6a029549a014f29d50e (patch) | |
tree | 3f5918dbc0f2bdbac88d0e2604730285dbe699cc /fortran/src/CMakeLists.txt | |
parent | 1d8cd1619ac982396ef1aa35793a97e89027f3da (diff) | |
download | hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.zip hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.gz hdf5-7c7b4e3deb555c2d2fc3a6a029549a014f29d50e.tar.bz2 |
[svn-r19438] Correct use of lib, include, bin in INSTALL commands to use proper variables.
Tested: local linux
Diffstat (limited to 'fortran/src/CMakeLists.txt')
-rw-r--r-- | fortran/src/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index c2ca1e6..21439f1 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -223,7 +223,7 @@ INSTALL ( ${HDF5_F90_BINARY_DIR}/H5f90i_gen.h ${HDF5_F90_BINARY_DIR}/H5fortran_types.f90 DESTINATION - include/fortran + ${HDF5_INSTALL_INCLUDE_DIR}/fortran COMPONENT fortheaders ) @@ -232,7 +232,7 @@ INSTALL ( DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/ DESTINATION - include/fortran + ${HDF5_INSTALL_INCLUDE_DIR}/fortran COMPONENT fortheaders ) @@ -247,8 +247,8 @@ IF (HDF5_EXPORTED_TARGETS) ${HDF5_F90_LIB_TARGET} EXPORT ${HDF5_EXPORTED_TARGETS} - LIBRARY DESTINATION lib COMPONENT fortlibraries - ARCHIVE DESTINATION lib COMPONENT fortlibraries - RUNTIME DESTINATION bin COMPONENT fortlibraries + LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT fortlibraries + ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT fortlibraries + RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT fortlibraries ) ENDIF (HDF5_EXPORTED_TARGETS) |