diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-11-04 15:37:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 15:37:17 (GMT) |
commit | 52854566ecad891ee60458777932539d3edab6e0 (patch) | |
tree | acf73fd6f48220b972e0c53ecccb18bee072dff5 /hl/fortran | |
parent | 7a1885451213244da0b244338435830fc4dd6ea1 (diff) | |
download | hdf5-52854566ecad891ee60458777932539d3edab6e0.zip hdf5-52854566ecad891ee60458777932539d3edab6e0.tar.gz hdf5-52854566ecad891ee60458777932539d3edab6e0.tar.bz2 |
1.12 Merge HDFGroup#2175 Implement option for using CMake GNUInstallDirs (#2221)
Diffstat (limited to 'hl/fortran')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index 4413424..7a484dc 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -324,9 +324,9 @@ endif () #----------------------------------------------------------------------------- set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX}) set (_PKG_CONFIG_EXEC_PREFIX \${prefix}) -set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib) -set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include) -set (_PKG_CONFIG_MODULEDIR \${prefix}/mod) +set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${HDF5_INSTALL_LIB_DIR}) +set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${HDF5_INSTALL_INCLUDE_DIR}) +set (_PKG_CONFIG_MODULEDIR \${prefix}/${HDF5_INSTALL_MODULE_DIR}) set (_PKG_CONFIG_LIBNAME "${HDF5_HL_F90_LIB_CORENAME}") set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}") |