summaryrefslogtreecommitdiffstats
path: root/hl/fortran
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-22 20:47:56 (GMT)
committerGitHub <noreply@github.com>2020-12-22 20:47:56 (GMT)
commit497e8382cd1e40864843991d19ebc0d19a206dcf (patch)
tree360f8b3510beae7fa9881241093bf8b3256db858 /hl/fortran
parentb3c1d1bf06b3fd765e93272f0c8d92c35c642fd1 (diff)
downloadhdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.zip
hdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.tar.gz
hdf5-497e8382cd1e40864843991d19ebc0d19a206dcf.tar.bz2
Update pkgconfig settings with version - #218 (#222)
Diffstat (limited to 'hl/fortran')
-rw-r--r--hl/fortran/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index 82b5555..d35ca3b 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -338,8 +338,8 @@ if (BUILD_SHARED_LIBS)
set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_HL_F90_LIB_CORENAME}")
endif ()
-set (_PKG_CONFIG_REQUIRES "${HDF5_F90_LIB_CORENAME}")
-set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_F90_LIB_CORENAME}")
+set (_PKG_CONFIG_REQUIRES "${HDF5_F90_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
+set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_F90_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
configure_file (
${HDF_RESOURCES_DIR}/libhdf5.pc.in