summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-11-05 19:47:02 (GMT)
committerGitHub <noreply@github.com>2022-11-05 19:47:02 (GMT)
commite1673be0efa4a4549727bc03db4b719f4e280ad6 (patch)
treea53a04f04dd334f9712d03b1576e72fbf72adc10 /fortran
parent559d7d056be22fb9e2f0da69168c9050d448a71c (diff)
downloadhdf5-e1673be0efa4a4549727bc03db4b719f4e280ad6.zip
hdf5-e1673be0efa4a4549727bc03db4b719f4e280ad6.tar.gz
hdf5-e1673be0efa4a4549727bc03db4b719f4e280ad6.tar.bz2
1.10 Merge HDFGroup#2175 Implement option for using CMake GNUInstallDirs (#2222)
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index b3a3b7f..7d1d90c 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -534,9 +534,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_F90_LIB_CORENAME}")
set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")