summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-22 20:44:32 (GMT)
committerGitHub <noreply@github.com>2020-12-22 20:44:32 (GMT)
commit81fdb7b49307290633e543a3fa08a67fc836fc1d (patch)
tree32b2e668a02d9adafc494467115a1e03fdbab018 /fortran
parente0b86b751636279e4c185e2e7b2e4f6131c08ce5 (diff)
downloadhdf5-81fdb7b49307290633e543a3fa08a67fc836fc1d.zip
hdf5-81fdb7b49307290633e543a3fa08a67fc836fc1d.tar.gz
hdf5-81fdb7b49307290633e543a3fa08a67fc836fc1d.tar.bz2
1 12 - Update pkgconfig settings with version - #218 (#221)
* merge updates from develop * remove extension on command * Run autogen before chkmanifest * Update release text files and whitespace cleanup * Update list * OESS-98 Update plugin build option * OESS-98 fix tools test for plugins * Fix conflict * OESS-98 fix hdf5 link target * Update pkgconfig settings with version - #218
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index ecf34fd..be98cfb 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -535,8 +535,8 @@ if (BUILD_SHARED_LIBS)
set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_F90_LIB_CORENAME}")
endif ()
-set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME}")
-set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}")
+set (_PKG_CONFIG_REQUIRES "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
+set (_PKG_CONFIG_REQUIRES_PRIVATE "${HDF5_LIB_CORENAME}-${HDF5_PACKAGE_VERSION}")
configure_file (
${HDF_RESOURCES_DIR}/libhdf5.pc.in