summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-22 20:43:58 (GMT)
committerGitHub <noreply@github.com>2020-12-22 20:43:58 (GMT)
commit8183284f0954228de814dcb50cc0bb1774d9a365 (patch)
tree9cf8b352396304f99c20ad3dca589c639d17ff47 /hl/src
parent71440cef1c4cf4757fe53906b663b286fc537ede (diff)
downloadhdf5-8183284f0954228de814dcb50cc0bb1774d9a365.zip
hdf5-8183284f0954228de814dcb50cc0bb1774d9a365.tar.gz
hdf5-8183284f0954228de814dcb50cc0bb1774d9a365.tar.bz2
dev -Update pkgconfig settings with version - #218 (#220)
* OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Pkgconfig fix - #218 * Update all pkgconfig settings with version
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index aef59c8..91953b0 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -137,8 +137,8 @@ if (BUILD_SHARED_LIBS)
set (_PKG_CONFIG_SH_LIBS "${_PKG_CONFIG_SH_LIBS} -l${HDF5_HL_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