diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-11-08 13:52:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 13:52:45 (GMT) |
commit | 7077e505dc3f85010fe6529355e597938d09f732 (patch) | |
tree | 4e0804f40ca708ef538c1c0c88c0d3b8038ed981 /hl/fortran/src | |
parent | 2061020115ad53f845021957d11f316773bb3cb7 (diff) | |
download | hdf5-7077e505dc3f85010fe6529355e597938d09f732.zip hdf5-7077e505dc3f85010fe6529355e597938d09f732.tar.gz hdf5-7077e505dc3f85010fe6529355e597938d09f732.tar.bz2 |
1.8 Merge #2175 Implement option for using CMake GNUInstallDirs (#2224)
* Merge #2175 Implement option for using CMake GNUInstallDirs
* 1.8 only revert mod dir because of windows
Diffstat (limited to 'hl/fortran/src')
-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 bae478c..2bae90f 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -231,9 +231,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}") |